How to retrieve form_id from an element template?
-
Hi Sven,
This maybe awkward but I need to get form_id for my element template.
Top of my template says I can use $element_id, $type, $name …. etc, but $form_id isn’t listed and if I echo this, I get null.
I am seeing get_form_id(), get_current_form_id() functions in the plugin but I am not quite sure how to use these to make the form_id available for my template.
Could you please help?
Thank you.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to retrieve form_id from an element template?’ is closed to new replies.