PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to Insert a "Required Field" text in required inputs in your form?

  1. rovillesarate
    Member

    Hi! Im just wondering if its possible to insert a required field text in required input instead of just the plain " * "? Is there a filter or hook to do this?

    Posted 11 years ago on Tuesday March 8, 2011 | Permalink
  2. You can do that with jQuery. Here's an example.

    jQuery(document).ready(function() {
    	jQuery('.gform_wrapper .gfield_required').html('* required field');
    });

    http://api.jquery.com/html/

    Posted 11 years ago on Tuesday March 8, 2011 | Permalink