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 7 months 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.  
1 Answers
Victor Font answered 7 months 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 7 months ago

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

Victor Font replied 7 months 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.

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