In the sample page above I have a code to increment a number on submission but if the data for required fields are not entered the function is still being called. How can I only call the function if the submission goes through???
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.
Question
Master
In the sample page above I have a code to increment a number on submission but if the data for required fields are not entered the function is still being called. How can I only call the function if the submission goes through???
Link to comment
Share on other sites
1 answer to this question
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.