Skip to content

Instantly share code, notes, and snippets.

@jaredatch
Last active May 18, 2016 03:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredatch/5617223 to your computer and use it in GitHub Desktop.
Save jaredatch/5617223 to your computer and use it in GitHub Desktop.
GravityForms doesn't have a filter for the * required marker, so this JS changes it.
jQuery(document).ready(function($) {
$("span.gfield_required").html(function(index, text) {
return text.replace("*", "Required");
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment