Show form for editing on custom page

By: Don Arnel | Asked: 07/26/2024
ForumsCategory: Code HelpShow form for editing on custom page
Don Arnel asked 5 months ago
Hello, I am able to display my empty form on a custom page with the following code: echo FrmFormsController::get_form_shortcode(array('key' => 'deal-sheet'));   However, I would like to be able to pre-populate it with an existing entry so that it can be edited and updated. Does anyone know if this is possible?
1 Answers
Best Answer
Rob LeVineRob LeVine answered 5 months ago
Looking at the source of FrmProsController, I see get_form_shortcode has entry_id as a parameter, so try adding that to your array. If you've set up the form so that its entries are editable, my guess is that it'll display as you want.
Don Arnel replied 5 months ago

That worked. Thank you for the quick response!

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