Login Retreive lost passwordRegister
Search

Forum Index / Feedback / New Mod of Formhandler - Live Validation -

[ This topic is solved ]

  sid benachenhou 07 November 09 / 07:16  
Hi all,

I have modified formhandler to handle live errors and live format input by putting in red a textfield border if it is not correct or empty and green if it is correct, all this live by javascript, for example, if i put FH_STRING in textfield this textfield will be red if i leave it empty by pressing for example the tab button or loosing focus.

i have also add a feature that handles live field format while input data, for example if i put FH_PHONE, the field format will be automatically a phone edited ( it don't let me put chars, all this live in client side )

you can see is in action here :
http://www.ogmatek.com/test.php


Pretty simple to understand, you can try to write in telephone field and you can see that it is in canadian phone format , also applicable for Postal Code ( Canadian form like j6y1v6 ), this all integrated with the validation process of formhandler ( FH_XXXXX )

i didn't test it with the new ajax validation feature, but i don't need it for my devs since my own validation works fine and suite my needs,

i wanted to share this idea so that if you're interrested i can give you the mod for future feature in formhandler and work around it to be fully integrated in a new release.

the demo is integrated with the latest release of formhandler,


Sid

  Johan Wiegel (Admin) 01 March 10 / 13:34  
FH has the Ajaxvalidator funtion which uses the existing validators

  Top


powered by PHP-GLOBE   © 2004 - 2010 FormHandler. All rights reserved.   -   Open source license