Automatically Duplicate Form using URL HTTP Request

By: DC Site | Asked: 05/15/2023
ForumsCategory: How-toAutomatically Duplicate Form using URL HTTP Request
DC Site asked 1 year ago
Hello Community, just looking to see if anyone knows a way to duplicate a form automatically using a URL request (i.e. yoursite.com/wp-json/frm/v2/forms POST is used to create a new form).

We were thinking somewhere along the lines of yoursite.com/wp-json/frm/v2/forms?frm_action=duplicate&id=11) but this doesn't work.
1 Answers
Best Answer
Victor Font answered 1 year ago
With the Formidable API, your only option to duplicate a form is to create a new one from scratch with the same type of fields as the original. See this: https://formidableforms.com/knowledgebase/formidable-api/#kb-create-a-form. If you want to truly duplicate a form, create a custom REST endpoint and use Formidable functions to duplicate it. https://developer.wordpress.org/rest-api/

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