Automatically submit a form without clicking on the submit button

By: ALBERT OPOKU | Asked: 04/06/2023
ForumsCategory: General questionsAutomatically submit a form without clicking on the submit button
ALBERT OPOKUALBERT OPOKU asked 1 year ago
I have a form on a page. Users arrive on this page using a URL with parameters eg. www.site.com/?name=Joe&amount=10&status=successful The form has three text fields with default values of [get param=name], [get param=amount] and [get param=status]. As such the form gets populated automatically. I want the form to submit the completed data without the user clicking on the submit button. Is this possible? Thanks in advance.
3 Answers
Rob LeVineRob LeVine answered 1 year ago
You can make it so that the page can be submitted when the user clicks the Enter key.  Is that what you want or do you want to automatically submit after a few seconds?  What's the exact scenario?
ALBERT OPOKUALBERT OPOKU replied 1 year ago

Basically I want to create the entry ones the page is loaded on the browser without the user needing to click on anything.

Victor Font answered 1 year ago
Since you're already creating a URL, instead populating a form, use the REST API to create a new form entry. No submit button required: https://formidableforms.com/knowledgebase/formidable-api/
ALBERT OPOKUALBERT OPOKU replied 1 year ago

Thanks a lot. I have checked the documentation. My challenge is that the user is referred to my website from another website - so they land on my page without previously filling out a form on my website. So I am not sure how to implement the API. Do I need to add a PHP code snippet that takes the parameter from the URL and then calls the formidable API?

Venue Llama answered 1 year ago
Can this be done with a star rating? I'd like to have star ratings on a post, but don't want a submit button. Thanks for any suggestions.  

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