format mask
Hi
on the registration form I want to use a mask so that the phone number and postcode are automatically put in the uk format ie
(12345) 123456
and
BS22 7UQ
I thought Ihad found the code for the phone and latered it to
<input name="UserPhone" type="text" class="WAATKTextField" id="UserPhone" onBlur="if (document.getElementById('PhoneServerValidation')) document.getElementById('PhoneServerValidation').style.display='none';WAValidatePN(document.forms[0].S_ProductName,'- Invalid phone number',false,true,'(xxxxx) xxxxxxx',document.forms[0].S_ProductName,0,true)" value="<?php echo(ValidatedField("usersRegistrationfull","UserPhone")) ?>" size="32" />
But this has not worked
any ideas?
thanks
Ian