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.

gform_submit_button Filter

  1. Hey there

    I'm using this filter - http://www.gravityhelp.com/documentation/page/Gform_submit_button - to change the submit button to a <button> element.

    I know I can target an individual form by ID and give each a unique button text.

    I was wondering if it was possible to write one function containing something similar to <button>'. $form_submit_text.'</button> to allow buttons to take the value from the "Text:" input field in the form settings?

    Posted 11 years ago on Tuesday July 24, 2012 | Permalink
  2. Never mind, I've solved it!

    http://pastie.org/4316049

    Posted 11 years ago on Tuesday July 24, 2012 | Permalink
  3. David Peralty

    Thanks for posting your solution.

    Posted 11 years ago on Tuesday July 24, 2012 | Permalink

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