Passing a hidden field from an embed code as parameter breaks the value when the value contains a comma | Community
Skip to main content

I’m customizing a statement slide on my Typeform, using data from a DB and passed with PHP as hidden value using the parameters in the embed code.

I noticed that if my value contains a comma, typeform shows just the part before the comma.

For example, if I pass “This is the first, this is the second”, on Typeform I see just “This is the first”.

I tried to convert the comma into %2C, but no luck (I see all the statement, but I see “%2C” and not the comma.

There’s something I can do? Actually I’m removing the comma via PHP but it’s not the best solution for my needs. (I’ve to show stores addresses)

Hi,
You can use the Tyepform Embed API to dynamically create your Typeform and format the values of hidden fields as needed.


Reply