does anyone have a sample of telling VLWeb that a text box is an email address and validating that it is "correct"? WAMs have a way of doing this, but I cannot figure out a VL Web equivalent? Maybe a regular express? Has anyone done this and could you provide a sample? Thanks in advance
david
Email validation/masking in VL Web
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Email validation/masking in VL Web
v14.2 will have an isEmail intrinsic function.
Until then, the simplest solution is to create a widget with a simple JavaScript test using a regular expression.
Regards
Until then, the simplest solution is to create a widget with a simple JavaScript test using a regular expression.
Regards
Re: Email validation/masking in VL Web
Question: What will the criteria for email validation be with the "isEmail" function?
I am asking because I spent some time with the specification for email addresses and as I recall, taken literally the RFC2822 allows for many things that we are not interested in normally - but which are valid.
I am asking because I spent some time with the specification for email addresses and as I recall, taken literally the RFC2822 allows for many things that we are not interested in normally - but which are valid.
I don't know what I am doing, nor how I did it. If it works, luck was involved 
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Email validation/masking in VL Web
As I understand it, isEmail validates email addresses using criteria that approximate RFC2822.
It will cover the vast majority of email addresses.
Regards
It will cover the vast majority of email addresses.
Regards