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.
Found the way result.setValue("newproperty", propertyval);