Needed this for a contact form (Contact Form 7) and couldn't figure out the jquery myself when dealing with more than one box. This did the trick!
[strong]Pro Tip:[/strong] If you're wondering how to use this shortcode within a Contact Form 7 Contact Form, just add the following line to the bottom of your theme's functions.php
[code]add_filter( 'wpcf7_form_elements', 'do_shortcode' );[/code]
Very usefull plugin. I recommend.
You must log in to submit a review. You can also log in or register using the form near the top of this page.