Automatically advance

By: Lasse Kornerup | Asked: 09/19/2022
ForumsCategory: Code SnippetsAutomatically advance
Lasse Kornerup asked 2 years ago
Hi there, I would like the quiz to automatcally jump to next queston after submitting answer. Then the "Next" buttom has no relavans and need to be removed.   How do i do that? I have found previously question. But i cant get it to work on my quiz? Thanks Lasse
4 Answers
Rob LeVineRob LeVine answered 2 years ago
If your current issue is that the Next button still shows, which was not the goal of the post you cited, you can add the following CSS to the Customize HTML tab under "Before Fields", making sure to wrap it in the style tag.
.frm_button_submit {
display: none;
}

.frm_final_submit {
display: block !important;
}
Lasse Kornerup replied 2 years ago

Hi Rob,

Thanks for that - that will solve the problem of the button when i first figure out, how to disable the Next buttom, and make the quiz to automatically jump to next question after submit an answer. 🙂

Rob LeVineRob LeVine replied 2 years ago

The automatic jump post that was referenced in your original email works fine for me. I just created the default quiz form and followed the directions in the post and it automatically goes to the next question. https://connect.formidableforms.com/question/category/general-questions/automatically-jump-to-forms-next-step-when-selecting-radio-button-option/

I suggest posting your customized HTML code if you can't figure out why it's not working and clearly explain what does or doesn't happen when you try.

Lasse Kornerup replied 2 years ago

Hmm... strange? Mayby i dont add the HTML the right place? Is it in "After" or in "Submit" the code [input class="frm_button_submit"] goes?

Sorry for my poor english - im from Denmark 🙂

Rob LeVineRob LeVine replied 2 years ago

You need to add it to the radio button's HTML. For example, if you have a question, "Which color?" You'll have a section on the Customize HTML tab labeled as "Which color?" and inside that box you'll find [input] and you want to change it to [input class="frm_button_submit"]

Steve WellsSteve Wells answered 2 years ago
Our conversational forms auto-advance to the next question. Have you looked into turning your form into a conversational form?
Lasse Kornerup answered 2 years ago

Hi guys, Thanks for your help.
I managed to get what i wanted by:
- Turning to Conversational form
- Skip the START page with a php snippet in WPCode:
add_filter('frm_filter_final_form', 'skip_start_page', 15); function skip_start_page( $form ) { $form = str_replace( 'class="frm_active_chat_field frm_chat_start_page"', 'style="display: none;" class="frm_active_chat_field frm_chat_start_page"', $form ); return $form; }

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