whoknows361
Technical User
Hello all - been awhile.
I have searched this forum, but have not found a suitable answer to my needs.. hope you can help.
I have the following text fields in a form:
form.Sname.
form.Semail
form.Sphone
form.Salt
form.Smodel
form.Sserial
form.Sdescription
i want to add validation in the following:
for Sname, Smodel, Sserial, & Sdescription I want to ensure that the fields are not null.
For Sphone & Salt, I want to ensure that they are a phone number.
For Semail, I want to ensure that this is an email address.
If there is an erroneous entry, then I have a dynamic tb set up called "error_box"..
What would this code look like? I have seen many examples, but they don't seem to work when I try them, or are not specific to my usage.
I appreciate all help provided.
J.
I have searched this forum, but have not found a suitable answer to my needs.. hope you can help.
I have the following text fields in a form:
form.Sname.
form.Semail
form.Sphone
form.Salt
form.Smodel
form.Sserial
form.Sdescription
i want to add validation in the following:
for Sname, Smodel, Sserial, & Sdescription I want to ensure that the fields are not null.
For Sphone & Salt, I want to ensure that they are a phone number.
For Semail, I want to ensure that this is an email address.
If there is an erroneous entry, then I have a dynamic tb set up called "error_box"..
What would this code look like? I have seen many examples, but they don't seem to work when I try them, or are not specific to my usage.
I appreciate all help provided.
J.