Update Select Field Dynamically

By: David Beecher | Asked: 09/23/2022
ForumsCategory: Code HelpUpdate Select Field Dynamically
David Beecher asked 2 years ago
Hello, I have taken over the development of a website using Formiddable. They are populating a select from a custom post type using the following command:
 $field_id = FrmField::get_id_by_key($field_key);
FrmField::update($field_id, nw_calc_form_products($values, $nw_product, $product_types, $product_brands));
This does update the select dropdown within the form, but I have to manually go into the form and press update to see the amend on the frontend. Is there a function to make this happen after I do the FrmField::update, seems illogical to have to then go into the form and press update. Cheers David

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