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.

Hide the Previous Button

  1. My client is in the medical field and we're collecting basic contact information via an online "Getting Started" form.

    The very last question on the first page of the form asks if the person is currently experiencing suicidal thoughts.

    Conditional logic setup in the form will take them to a "CALL 911" page if they select "Yes." Unfortunately, because we're using pagination, when they arrive on this page, they are shown a "Previous" button.

    This creates a great deal of liability for my client, as anyone arriving at that page is easily able to go back and select "No" and complete the form.

    I understand there's not a way to program conditional logic on the previous button, but I'm curious if anyone has suggestions on how I can hide the previous button on page 2, while keeping it available on page 3.

    A sample of this form is available online at: http://neurofitnutrition.com/sample-getting-started/

    Thanks!

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink
  2. David Peralty

    In your theme CSS file you could add:

    #gform_previous_button_4_24 {
    display: none !important;
    }

    And then the button should be invisible for anyone to click on.

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink
  3. Thanks David!

    To be clear, this will only hide it on that form's second page? We need to be able to have those that answer "No" to be able to fill out the long-form questions about medications, but be able to also return to the first page if they need to correct any information there before submitting.

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink
  4. David Peralty

    Give it a try and let me know what happens. It doesn't hurt to experiment, but I am pretty confident that it should only hide that specific previous button.

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink
  5. Finally got to try it out and it works perfectly! Thanks!

    Posted 12 years ago on Wednesday May 16, 2012 | Permalink
  6. Right on, glad you got it working!

    Posted 12 years ago on Wednesday May 16, 2012 | Permalink

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