Answered
Form problem with less than (le)
I have a form, when users push the next button there will be
some input field checking before the user is realy going to the
next page.
Now I want to check if the zip code (Netherlands) is not less than 6 postions.
In the begining I used this code:
if (zipcode_txt.text eq "") {
result_txt.text = "Your zipcode is empty";
}
But now I want to check if there are really 6 positions in the input field. I have already been trying this code, but that's not working:
if (zipcode_txt.text le 6) {
result_txt.text = "Your zipcode is empty";
}
Can someone help me out here
Now I want to check if the zip code (Netherlands) is not less than 6 postions.
In the begining I used this code:
if (zipcode_txt.text eq "") {
result_txt.text = "Your zipcode is empty";
}
But now I want to check if there are really 6 positions in the input field. I have already been trying this code, but that's not working:
if (zipcode_txt.text le 6) {
result_txt.text = "Your zipcode is empty";
}
Can someone help me out here
