View Single Post
cstreit cstreit is offline
Super Moderator
 
cstreit's Avatar
 
Join Date: Feb 2000
Location: Naperville, IL USA
Posts: 14,988
Garage
Quote:
Originally Posted by stomachmonkey View Post
"email": return email_addr,

"email": "return email_addr",

enclose return email_address in ""

Also, check the form they are filling in, is the field name / value return email_address or return_email_address

Note inconsistent use of underscore between return and email

EDIT: on a side note, try to be more consistent in your use of underscores and capitalization structure. You've got like 3 different styles for the same element. Pick a style you are comfortable with and stick to it, religously. Makes like a lot easier.
Thanks. I'm just stealing bits of code. Most of that is Google's API standard code. I only added the first two lines.

So what I added was: var email_addr = document.getElementById("EditBTAddres").elements["email_field"]; because my form is named "EditBTAddres" (yes with the typo) and the field ID is email_field.

I'll try your suggestion. Thanks!
__________________
Chris
----------------------------------------------

1996 993 RS Replica
2023 KTM 890 Adventure R
1971 Norton 750 Commando
Alcon Brake Kits
Old 11-28-2017, 06:18 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)