OnSubmit with Client API and persisting data
I'm having trouble getting data to persist from an HTML page using Client API. I can get all the input fields to show up by following the directions in the Help section, however there's no information for how to get the data to submit to the right place.
By looking at the code in the example, it looks like there is a Submit function called in the <form> HTML tag:
<form user="zoho" linkid="175" nexturl="http://creator.zoho.com"onsubmit='Zoho.submit(this); return false; class="Zoho-form">
But simply copying this doesn't work, and it's not clear what the pointer (this) in Zoho.submit(this) is calling. I currently have the nexturl property assigned to the View for the form data I'm submitting, and although on submitting the data it takes me to the right page, the data has not been recorded in the database.
Can you please explain how to do this, how the Zoho.submit function works, what parameter values are valid, and perhaps a bit of sample code as well?
Thanks,
Andy