PDA

View Full Version : error


i.edwards384429
06-29-2010, 12:08 PM
Hi

Ok I know i've modified the form (attached)

But can someone take a quick look.

Both the telephone and postcode fields, when I fill them in the dreaded yellow triangle appears bottom left saying there is an error

All works just dont like the error

thanks

Ian

Jason Byrnes
06-29-2010, 02:52 PM
can you send a link where I can see the problem to get a better idea of the cause.

i.edwards384429
06-29-2010, 05:09 PM
Hi Jason

here's a link

http://www.1stmodelagency.co.uk/users_Registration.php

thanks

Ian

Jason Byrnes
06-29-2010, 05:47 PM
the phone number field is set to use client validation on a form element that does not exist:
<input name="UserPhone" type="text" class="WAATKTextField" id="UserPhone" onBlur="if (document.getElementById('PhoneServerValidation')) document.getElementById('PhoneServerValidation').s tyle.display='none';WAValidatePN(document.forms[0].S_ProductName,'- Invalid phone number',false,true,'x (xxx) xxx-xxxx',document.forms[0].S_ProductName,0,true)" value="" size="32" />



should be:
<input name="UserPhone" type="text" class="WAATKTextField" id="UserPhone" onBlur="if (document.getElementById('PhoneServerValidation')) document.getElementById('PhoneServerValidation').s tyle.display='none';WAValidatePN(document.forms[0].UserPhone,'- Invalid phone number',false,true,'x (xxx) xxx-xxxx',document.forms[0].UserPhone,0,true)" value="" size="32" />



I cant reproduce an issue with the postal code.