jQuery Live Email Validation
Version 1.0.1 added 4 months ago by gr0b1
1.0.1 Notes
About this Package
You might need a simple way of making sure a valid email is entered before a form can be submitted.
This is a nice lightweight jQuery solution for doing so.
It will update it's status on the keyup() event, and enable or disable the form's submit button accordingly.
In it's current implementation, two images are used for visual feedback.
They get appended to the right of the input field depending on the current input.
This behaviour can easily be modified by modifying the code.
You could change it to highlight the input field in a different color, etc
anyway the images are available here:
validyes.png and here validno
The path for these are set in the script to:
<?php bloginfo('template_directory'); ?>/images/validyes.png
<?php bloginfo('template_directory'); ?>/images/validno.png
This means that I assume there is a "images" folder in your theme's directory. If not you might want to change this to something else.
This is a nice lightweight jQuery solution for doing so.
It will update it's status on the keyup() event, and enable or disable the form's submit button accordingly.
In it's current implementation, two images are used for visual feedback.
They get appended to the right of the input field depending on the current input.
This behaviour can easily be modified by modifying the code.
You could change it to highlight the input field in a different color, etc
anyway the images are available here:
validyes.png and here validno
The path for these are set in the script to:
<?php bloginfo('template_directory'); ?>/images/validyes.png
<?php bloginfo('template_directory'); ?>/images/validno.png
This means that I assume there is a "images" folder in your theme's directory. If not you might want to change this to something else.
