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.

Is there a gform_next_button and gform_previous_button hook?

  1. Lee Hord
    Member

    I'm implementing some sliding doors buttons on my Gravity Forms. I can do this with the submit button no problem using the gform_submit_button hook, but I can't seem to find if it's at all possible to do the same with the next and previous buttons. Are there any hooks available to target these?

    Posted 12 years ago on Monday November 28, 2011 | Permalink
  2. Hi Lee,

    Unfortunately there are no filters for modifying the HTML output of the next/prev buttons. A bit hacky, but it would be possible update these after the page is rendered via jQuery.

    Posted 12 years ago on Monday November 28, 2011 | Permalink
  3. Lee Hord
    Member

    Hi David,

    Thanks, I thought that may have been the case. Not to worry, would have been nice to handle them the same way as the submit button.

    Posted 12 years ago on Tuesday November 29, 2011 | Permalink
  4. agreed. would adore having this hook... i have duplicates of a multi-step form, upwards to about 40 of them, and it's lame having to go through each of them one by one and adjusting the next/prev image

    Posted 12 years ago on Tuesday November 29, 2011 | Permalink