You are viewing limited content. For full access, please sign in.

Question

Question

need help configuring Process Error Messaging

asked on November 24, 2017

First try at this and I think it's not working because the field I'm point it towards isn't showing as a "regular expression".  What is it expecting in there?

1 0

Answer

SELECTED ANSWER
replied on November 27, 2017

Here is the setup:

On the advanced tab enter the reg exp:

Process Error Message:

You should get on your form:

 

1 0

Replies

replied on November 24, 2017
2 0
replied on November 24, 2017

I've tried all kinds of variations, including the ones that your link leads to (see below), but they are either ignored upon testing, or invalidate the controls I already have there.

0 0
replied on November 24, 2017

I've tried field label in brackets, using the field name, using the field name variable, using different types of brackets, using different combinations.  :(

0 0
replied on November 24, 2017

A regular expression is used to match a pattern in text.  What are you trying to match?

replied on November 26, 2017 Show version history

For fields such as usernames,  where I only want to allow alphanumeric characters (A-z and 0-9) I use the regular expression: \w{1,}

If you only want to exclude '&' and '@' try (?:(?![@&]).)+
( you enter the regexp on the field in the advanced tab and then you can configure the error msg)

~ Andrew

2 0
replied on November 27, 2017

Andrew,

1) Thanks for the code (?:(?![@&]).)+  

I have now replaced [^&]+ with your code, since it covers the @ sign which I hadn't done yet.

2) Thanks for your clip showing the error messaging entries in your Forms software.  So, if you use this component of the Forms software and putting just username in that last field works for you, then my putting just Applicant_Name in my field should have worked.  Should it not?  But it doesn't.  When I do a test, as if I was a new applicant, I do not get a message that says "Please do not use & or @ in this field" when I do my test runs.

0 0
replied on November 27, 2017

You want to enter the actual field name ( not the variable name ) in the error message configuration page.
Alternatively you could just have it match your field type, such as a single line field.

1 0
SELECTED ANSWER
replied on November 27, 2017

Here is the setup:

On the advanced tab enter the reg exp:

Process Error Message:

You should get on your form:

 

1 0
replied on November 27, 2017 Show version history

Okay, success!  So what I was doing wrong was in the second Process Error Message field, in the WHEN spot.  My choice there was wrong. 

Thank you so much!

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.