Quote from
luishp on January 12, 2022, 9:55 am
@emmanuel-fernandez it's very easy. Forms are used to collect data with any structure.
In VisualNEO Web just create a JSON object and add any information. Then send it to neoCms using neoCmsSaveToForm (but be sure to include the endpoint into your API key "/api/forms/submit"). For example:
CreateEmptyObject [mydata]
SetVar [mydata.name] "Pepito"
SetVar [mydata.surname] "Perez"
SetVar [mydata.age] 34
neoCmsSaveToForm "myneocms" "form1" [mydata] "" "" ""
Regards.
@emmanuel-fernandez it's very easy. Forms are used to collect data with any structure.
In VisualNEO Web just create a JSON object and add any information. Then send it to neoCms using neoCmsSaveToForm (but be sure to include the endpoint into your API key "/api/forms/submit"). For example:
CreateEmptyObject [mydata]
SetVar [mydata.name] "Pepito"
SetVar [mydata.surname] "Perez"
SetVar [mydata.age] 34
neoCmsSaveToForm "myneocms" "form1" [mydata] "" "" ""
Regards.
Vadim, emo and javadrajabihakami have reacted to this post.
Vadimemojavadrajabihakami