Skip to main content
1-Visitor
April 23, 2020
Solved

Validation Code

  • April 23, 2020
  • 1 reply
  • 1373 views

Hi Community,

I have two text filed area widgets for phone no. and email id and have set validators to check they are not null.Now I also want to check both the text boxes separately if the phone no. and email entered are valid.What is the code I need to give in the validators if my parateres are PhoneNo. and Email.

Best answer by tmisner

Hello Alena,

 

See Using a Validator with a Service to perform more advanced analytics which makes use of a backing service to accomplish verification of these fields. In addition to this you may be able to use the Validator's expression field with Reg Ex directly but I have not tested this. There is an example of this operation in CS233996 for the Expression widget.

1 reply

tmisner16-PearlAnswer
16-Pearl
April 23, 2020

Hello Alena,

 

See Using a Validator with a Service to perform more advanced analytics which makes use of a backing service to accomplish verification of these fields. In addition to this you may be able to use the Validator's expression field with Reg Ex directly but I have not tested this. There is an example of this operation in CS233996 for the Expression widget.