Hi Typeform Community,
I’m working on a WordPress site using the Essential Addons for Elementor Lite plugin to embed Typeform forms. I need to pass hidden fields (like user_id) to the embedded form dynamically.
I’ve read the official documentation, which states that hidden fields can be passed as fragment/hash (after the #) in the form URL. However, I’ve noticed that when embedding a Typeform using the Typeform Embed library (makeWidget), any parameters after the # are not included in the iframe src, and thus are not received by the form. Only parameters passed as query string (after the ?) are actually sent to the embedded form and appear in the results.
My questions:
- Is it officially supported and safe to always use the query string (?) for hidden fields in embedded Typeforms, or are there scenarios where the fragment/hash (#) is required or preferable?
- Are there any known issues or limitations when using the query string for hidden fields, especially in embedded forms on WordPress or with the Typeform Embed library?
- Is there a recommended best practice for passing hidden fields to embedded Typeforms to ensure maximum compatibility?
Thank you for your help and clarification!