Display results from form submission on the same page

By: Henry King | Asked: 09/14/2022
ForumsCategory: General questionsDisplay results from form submission on the same page
Henry King asked 2 years ago
Hi I would like to show the results of a form submission on the same page. 1) The form data is sent to a php for processing and I can display the result but it always appear in the header, if not the result will appear in the form button if I use "add_action('frm_submit_button_action', 'name_onsubmit')" hook. How do I display the result OUTSIDE the button. Please refer to attached image which shows the returned result in the button. I've also attached the snippet PHP code. 2) Secondly, how do I stop form redirect or show another page, but just show the message that displays the results of the form after submission? As there are two questions, please help what you can. Much appreciated. Thanks!
Attachments
1 Answers
Bobby Clapp answered 2 years ago
If you want it in the green box, then you need this: https://formidableforms.com/knowledgebase/frm_success_filter/#kb-examples
Henry King replied 2 years ago

Thanks.

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