I was wondering if anybody here could help me on this one.
I'd like to run a javascript to validate form fields before submission but after caspio own validation. Let me be clearer. I've already set a few constraints like minimum and maximum number of characters, for instance, but I have some further checks I'd like to add to validate fields before the form is submitted. I want to make sure Caspio checks run first and then and only then, if everything is OK, I want to run my script which contains further and more strict validation rules.
Example: I want to verify that a mobile number begins with "04" (Australian mobile number) but only after all the other basic checks have been performed (length within the limit, etc.).
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
Paolo
I was wondering if anybody here could help me on this one.
I'd like to run a javascript to validate form fields before submission but after caspio own validation. Let me be clearer. I've already set a few constraints like minimum and maximum number of characters, for instance, but I have some further checks I'd like to add to validate fields before the form is submitted. I want to make sure Caspio checks run first and then and only then, if everything is OK, I want to run my script which contains further and more strict validation rules.
Example: I want to verify that a mobile number begins with "04" (Australian mobile number) but only after all the other basic checks have been performed (length within the limit, etc.).
Is there any way to do that? I couldn't find any.
Thank you.
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.