You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

RegEx with if statement (different choices)

Accepted answer


Content (required):

Hi Experts,

I have list of values e.g. in select single components. For each value I want to assign different RegEx pattern.

If the user e.g. chooses Business Email next field will be validated with RegEx related to Business Email.

If the user chooses private Email the same next field should be validated with RegEx for specified private Email.

The example it is clearing the idea. Actually i have different patterns of serial numbers and should be based on the product that's been choosed by the user.

Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!