Question : Spry username validation

Hello experts!

I'm using Spry to validate my textfields. I have an username field, where I want people to get forced to write their username like george.hanson or julie.nielson.

I have tried with this:

var sprytextfield1 = new Spry.Widget.ValidationTextField("v_username", "custom", {validateOn:["blur"], hint:"fornavn.efternavn", useCharacterMasking:true, pattern:"xxxxxxxxxx?xxxxxxxxxx"});

It works, except people need to write exact 10 characters on each side of the dot. Is there a solution out there? :-)

Thanks in advance!

Answer : Spry username validation

Oops, I should have caught that, you had it backwards.  Should be "mysql_query($queryString,$con)" .
Random Solutions  
 
programming4us programming4us