Home > Forum > Tips&Tricks > Tip: Prevent ; and # in fields referenced in choose fields

Tip: Prevent ; and # in fields referenced in choose fields
1

MVP

Hi,

in case you have choose fields, which reference information from another workflow you should prevent the user from entering special characters.

Example:
A subworkflow is linked to a parent workflow with a choose field and uses the Title field as the display name.
If a user enters ; or # in the value of the field, this will break the choose field logic. The system will be interpreted as a delimiter for a new choose field.

This can be achieved by using a regular expression.
RegEx:
^[^;#]+$

Best regards,
Daniel

Nobody has replied in this thread yet.
Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings