Can I use the API to create a Formidable Form from another Formidable Form

By: William Kudrle | Asked: 06/28/2023
ForumsCategory: General questionsCan I use the API to create a Formidable Form from another Formidable Form
William KudrleWilliam Kudrle asked 10 months ago

Still learning about Formidable Forms, so I hope that this is not too basic a question. I was wondering though if I could create a Formidable Form that acted more or less like a wizard form. After the user submitted that wizard form, then I would like to use the Formidable Form API to then create another Formidable Form that meets the specifications that were set out in the original wizard form.  For example, in this contrived example let's say I wanted the user to be able to set labels for their own contact form. Then in the wizard form, I would offer text boxes for the labels of the name, email address, message, and submit buttons. Then whatever the user put in the text boxes I would use for the field labels in the form. Is there a way that after the user submitted the wizard form, then I could use the Formidable Forms API and the information that was entered by the user for the labels to then dynamically create a Formidable Form Contact Form that used those field labels?  I saw in the API Docs at where the API could be used to create a WP Post on the same site, but it wasn't clear to me that the API could be used to create a form on the same site.  Thanks in advance for any insights. 

1 Answers
Victor Font answered 10 months ago
NO you can't create a form like that. Forms need to built in the form builder. There's a lot that goes on behind the scenes when Formidable builds a form that you can't replicate. What may be possible is to use the first form as a configuration form, then use the entries to replace the labels in real time when the pre-built form displays. This way you can have one pre-built form than can be configured on the fly for any user with a WordPress ID.

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