Question:
is there no way to read form fields from the payload in velo script?
Product:
Wix Studio Editor
What are you trying to achieve:
i can select forms payload elements with invoke method, but no fields with payload syntax. for example i can select ‘formName’ by invoke ‘payload.formName’, but I also need sam form-field-value. There is a payload for testing and the form fields are all available as ‘field:fieldID’ , but I have not found a correct method to read the ‘field:fieldID’ values by invoke method ((the form-field-values are all looks like “field:fieldID” in the payload with a colon between field and fieldID).
What have you already tried:
I try to invoke a form-field element with different methods. However, I have not found a way to get the field:values in my Velo background script.
The Payload with the example Data from the Form
{
“formName”: “My form”,
“submissions”: [ { “label”: “label”, “value”: “value” } ],
“submissionTime”: “2018-11-13T20:20:39+00:00”,
“formFieldMask”: [ “Maskname” ],
“submissionId”: “edca2245-7ce3-4d95-bfe9-b2012110eb8f”,
“contactId”: “edca2245-7ce3-4d95-bfe9-b2012110eb8f”,
“submissionsLink”: “https://www.wix.app/forms/0d3de181-9309-47d3-bb2d-97147e96679b/submissions?metaSiteId=7686c703-b77b-4747-817b-1f25fcd53791”,
“formId”: “0d3de181-9309-47d3-bb2d-97147e96679b”,
“field:anmerkung”: “field:anmerkung”,
“field:betreungszeit”: “field:betreungszeit”,
//and so on…
}
Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]