What is the shortest and easiest way to pass custom data to survey js result?

16 Views Asked by At

I would like to pass form id to my backend but i couldn't find an easier way.

I tried to modify result and include my custom data like this

result.data.formid = myformdata.formid; 

but it doesn't add it to the result, i would appreciate the help, thank you.

1

There are 1 best solutions below

0
Usman On

Found the way result.setValue("newproperty", propertyval);