close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

getting error when should not be

Thread began 9/05/2012 1:30 pm by sam308940 | Last modified 9/05/2012 1:58 pm by sam308940 | 315 views | 1 replies

sam308940

getting error when should not be

i have a site that has validation on the checkout page (client side) and i have had 2 reports from customers that the ADDRESS REQUIRED error is coming up - this is the alert for the STREET ADDRESS FIELD. however after reviewing the address the users were using, i cannot figure out why the ADDRESS REQUIRED error was triggered. Im hoping you can help me figure out what is causing the alert.

I CANNOT GENERATE THIS ALERT. i have tried on every laptop and ipad i get my hands on, and every browser. i do not get this error. I used the exact address of the persons reporting the error. The 2 persons reporting the error both stated they were using pcs with Firefox browser (i did not get the version from them).

these are the 2 street addresses
24 Villages Mountain Dr
26 Sulivan Hill Dr

here is the validation code:


<form action="card_confirm.php" method="post" name="ecart_checkout_form" id="ecart_checkout_form" onsubmit="WAValidateEM(document.getElementById('ecart_checkout_form').email,document.getElementById('ecart_checkout_form').email.value,'- Invalid email address',document.getElementById('ecart_checkout_form').email,0,true);WAValidateLE(document.getElementById('ecart_checkout_form').email,document.getElementById('ecart_checkout_form').email2.value,document.getElementById('ecart_checkout_form').email.value,'- Email entries do not match',document.getElementById('ecart_checkout_form').email,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').firstname,document.getElementById('ecart_checkout_form').firstname.value,'- First name required',1,50,'both',document.getElementById('ecart_checkout_form').firstname,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').lastname,document.getElementById('ecart_checkout_form').lastname.value,'- Last Name required',2,50,'both',document.getElementById('ecart_checkout_form').lastname,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').phone,document.getElementById('ecart_checkout_form').phone.value,'- Phone required',9,20,'both',document.getElementById('ecart_checkout_form').phone,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').street1,document.getElementById('ecart_checkout_form').street1.value,'- Address required',2,100,'both',document.getElementById('ecart_checkout_form').street1,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').city,document.getElementById('ecart_checkout_form').city.value,'- City required',2,100,'both',document.getElementById('ecart_checkout_form').city,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').shipping_firstname,document.getElementById('ecart_checkout_form').shipping_firstname.value,'- Shipping First Name required',1,50,'both',document.getElementById('ecart_checkout_form').shipping_firstname,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').shipping_lastname,document.getElementById('ecart_checkout_form').shipping_lastname.value,'- Shipping Last Name required',2,50,'both',document.getElementById('ecart_checkout_form').shipping_lastname,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').shipping_phone,document.getElementById('ecart_checkout_form').shipping_phone.value,'- Shipping Phone required',9,20,'both',document.getElementById('ecart_checkout_form').shipping_phone,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').shipping_street1,document.getElementById('ecart_checkout_form').shipping_street1.value,'- Shipping Address required',2,100,'both',document.getElementById('ecart_checkout_form').shipping_street1,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').shipping_city,document.getElementById('ecart_checkout_form').shipping_city.value,'- Shipping City required',2,50,'both',document.getElementById('ecart_checkout_form').shipping_city,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').shipping_postcode,document.getElementById('ecart_checkout_form').shipping_postcode.value,'- Zip/Postal code required',4,20,'both',document.getElementById('ecart_checkout_form').shipping_postcode,0,true);WAValidateCC(document.getElementById('ecart_checkout_form').cc_number,document.getElementById('ecart_checkout_form').cc_number.value,'- Invalid credit card number','','4:51:52:53:54:55:',document.getElementById('ecart_checkout_form').cc_number,0,true);WAValidateEL(document.getElementById('ecart_checkout_form').cvv,document.getElementById('ecart_checkout_form').cvv.value,'- Credit Card security code required',3,5,'both',document.getElementById('ecart_checkout_form').cvv,0,true);WAValidateRQ(document.ecart_checkout_form.state_province,'- Select a State',document.ecart_checkout_form.state_province,0,true,'select');WAValidateRQ(document.ecart_checkout_form.shipping_state_province,'- Select a Shipping State',document.ecart_checkout_form.shipping_state_province,0,true,'select');WAValidateRQ(document.ecart_checkout_form.order_hear,'- Please let us know how you heard about us.',document.ecart_checkout_form.order_hear,0,true,'select');WAAlertErrors('','',true,document.getElementById('false'),false);return document.MM_returnValue" >

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...