Neocms forms - Forum

Forum Navigation
You need to log in to create posts and topics.

Neocms forms

An example using NeoCms form? I have created the form in neocms, which only asks me for a name, and in visualneo I do not understand well how to pass the variables and make the submit. Thank you!

@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

Thank's :-)

 

 

Uploaded files:
  • You need to login to have access to uploads.
luishp has reacted to this post.
luishp