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 Format/Edit "Requirement" Text next to Field?

  1. luxerman
    Member

    I had help with this earlier, however I noticed that the following code conflicted with my themes homepage slider and functionality.

    I placed the following code within the header.php file of my wordpress site:

    <*script type="text/javascript">
    jQuery.noConflict();
      jQuery(document).ready(function($) {
    
         $('.gform_wrapper .gfield_required').html('<span class="smallreq">*required</span>');
    
      });
      <*/script>

    Is there another way to do this without a script or editing the header.php? It worked perfectly but just conflicted with the theme :(

    thank you

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  2. luxerman
    Member

    <*script type="text/javascript">
    jQuery(document).ready(function() {
    	jQuery('span.gfield_required').html('*required');
    });
    <*/script>

    Remove the two "*"

    This works and doesn't conflict with my theme...

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  3. Right on - glad you got it sorted out.

    Posted 11 years ago on Wednesday August 22, 2012 | Permalink

This topic has been resolved and has been closed to new replies.