Hello,
Maybe I have a wrong understanding of how hidden field work, but basically what I am trying to do:
For a project I want to get the results of a Typeform with a certain ID in my react application and do stuff with that data. for doing that stuff I need two other values which I already know from within the application: the user(name) and the other one is productArea, this is the page where they are at that moment. I thought hidden fields was a good solution for that.
So my code for the typeform is:
createPopup(formID, { size: 90, open: "load", hidden: { customerID: user, productArea: RMProductArea, }, onSubmit: (data) => { checkResponse(data.responseId); }, });
both user as RMProductArea are variables with strings as values
if I check in postman for the same responseId in the hidden field part, I see:
"hidden": {},
Do I have a wrong understanding of hidden fields? is this an issue? am I doing something wrong? can anyone help me?
Thanks in advance!