sg1234567 Posted November 20, 2009 Report Share Posted November 20, 2009 Folks, I have a quesiton. Is there anyway to call multiple functions using caspio's Submit form button... i know the code but for some reason it only executes one function... window.onsubmit=function1; window.onsubmit=function2; my goal is to validate forms. if i can call multiple functions through the submit form button caspio comes with it will be awesome. i know how to do it if i create my own button but dont know how to call it through caspio... if it's my own button it's like please advice. thank you so much for ur help. regards. Quote Link to comment Share on other sites More sharing options...
atashijain Posted November 23, 2009 Report Share Posted November 23, 2009 Hello, You should try calling the two functions like this: function one() { document.write("hai"); } function two() { document.write("All"); } function a() { two(); one(); } window.onload = a ; Hope this works for you. Please confirm. Thanks, Atashi 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.