waltmayo Posted August 4, 2011 Report Share Posted August 4, 2011 How can I create a new record in a table by passing data to a form and then auto-submitting? I understand how the POST or GET URL needs to be formatted, and how to get the data into the form (sort of), but how do you make it auto-submit? Walt Quote Link to comment Share on other sites More sharing options...
bahar_vm Posted August 4, 2011 Report Share Posted August 4, 2011 Hi Walt, Here is a code sample to autosubmit a form. function f_submit() { document.getElementById("caspioform").submit(); } window.onload = f_submit; You can place the code inside an HTML block on the DataPage. To see more Java Scripts, visit the Java Script forum at viewforum.php?f=14. Best, Bahar M. Quote Link to comment Share on other sites More sharing options...
waltmayo Posted August 5, 2011 Author Report Share Posted August 5, 2011 Thanks so much! Walt Quote Link to comment Share on other sites More sharing options...
wisdom Posted August 23, 2011 Report Share Posted August 23, 2011 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.