Jump to content

Script To Update Form

Recommended Posts

I'm using the script below in a function to submit a Caspio submission form.


else {document.getElementById('caspioform').submit();}


The same function does not work in a "Single Record Update" datapage.  Does anyone know the correct syntax to have a form Update instead of Submit?


Thanks, Chris.



Link to comment
Share on other sites

It should work the same on an Update form since the submit button is the same in Submission and Update forms. Use Firebug to inspect the code while opening the page in Firefox browser then look for the submit button and also see if you get an error when script runs.


One reason could be multi-form deployment on your webpage so the script is confused which "caspioform" it's referring to.


Good luck!


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...