Hiding next button multi-page form

By: Alavi Quraishi | Asked: 09/06/2023
ForumsCategory: Code HelpHiding next button multi-page form
Alavi QuraishiAlavi Quraishi asked 1 year ago
Hi All, I would like to be able hide the next button at each step of the form. Each step would have a confirmation yes/no question to moved forward. Tried the below code below hides all next buttons on my form.  
Attachments
2 Answers
Victor Font answered 1 year ago
When you read the documentation in Formidable's KnowledgeBase, did it not provide the solution you need? https://formidableforms.com/knowledgebase/javascript-examples/#kb-conditionally-hide-next-buttons-in-a-multi-page-form
Alavi QuraishiAlavi Quraishi replied 1 year ago

Yes but it hid all the next buttons in the entire form.

Victor Font replied 1 year ago

Then you must have implemented it incorrectly. The code in the KB article hides the button when a radio button has a default value of "No" and shows the button after a radio button is clicked and the value is changed to 'Yes'. That's how the code works.

If you want to have a confirmation button on each page of the form, you need to modify the example code to check all of the radio button input fields on each page. They will all have different field ids.

Dave Reuss answered 3 months ago
I am trying to do a simlar thing, but I want to limit the form to specific zip codes. So, if the user input any zip code other than the 5 i have specified, the next button is disabled. I assume the code in the documentation gets me close, but its not working. I think its looking to a checkbox rather than a text field. Is there a way to adjust?

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right