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

Question

Question

Exclusive Gateway Forms.

asked on May 21, 2024

I Have an simple Exclusive Gateway built. That has two Directions.  Send email and Don't Send Email if Customer Please a Check in a box. Check the Box send Email, Don't check it don't send it.

 

What i have come across is that customers are Placing a check in the box to send an email but are not providing the email address so the Form is getting suspended before the end process.

 

I Added the below To the End event section but it did not work

/dataset/SendEmail/Yes="unchecked"  or /dataset/SendEmail/_other="checked" and /dataset/Email_Address=" "

I am not sure what to put if the Email is Blank

Any thoughts.

 

Thanks Chris

2024-05-21_11-22-01.png
0 0

Answer

SELECTED ANSWER
replied on May 21, 2024

Chris,

Are you making the email field on the form required if the SendEmail checkbox is checked?

2 0

Replies

replied on May 21, 2024 Show version history

My suggestion would be to make Email a required field and use Field Rules to show/hide it depending on whether the box is checked; that way they can't submit without the required data.

If you're using the newer Forms Layout Designer, I believe you can also control whether or not the field is required using the more robust Field Rule options in the modern designer.

Additionally, for gateways you should always include a "default" outflow path otherwise your process could fail if it doesn't satisfy any of the branch conditions; in this case, I would probably make the "unchecked" path the default.

Lastly, you could also add an AND condition to your first condition so it will only try to follow that path if the box is checked AND the email is not blank.

/dataset/SendEmail/Yes="checked" AND /dataset/EmailAddress!=""

1 0
replied on May 21, 2024

I am new to this and learning as i go.

The Email address is to only show if the Send email conformation is checked. 

The Email address field was not set as required. I will make it a required Field.. 

 

Thank you both for your Input.

Chris

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

Sign in to reply to this post.