Hello
How can i validate the input? That's the question!
I have a record field where the user fills in his/her phonenumber. The user can fill in whatever he/she likes, but the default is starting with "^06-" and only numbers can be filled in..
What i like to check is if the phonenumber is the right format. The phonenumbers have to start with 06-1, 06-2, 06-57, 06-967, 06-53.All other numbers are not allowed, so they should get a message telling that the number is not ok.
I don't want to have a select box on my inputscreen, so the input of the phonenumbers should be checked in the sub validate_record ,but i don't know how.
Does someone know how to fix this?
greetings,
[removed by request]
The Netherlands (Europe)
How can i validate the input? That's the question!
I have a record field where the user fills in his/her phonenumber. The user can fill in whatever he/she likes, but the default is starting with "^06-" and only numbers can be filled in..
What i like to check is if the phonenumber is the right format. The phonenumbers have to start with 06-1, 06-2, 06-57, 06-967, 06-53.All other numbers are not allowed, so they should get a message telling that the number is not ok.
I don't want to have a select box on my inputscreen, so the input of the phonenumbers should be checked in the sub validate_record ,but i don't know how.
Does someone know how to fix this?
greetings,
[removed by request]
The Netherlands (Europe)