- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-19-2023 02:25 AM - edited ā12-19-2023 02:30 AM
Hi there,
I have made an Record Producer form for our Service Portal.
One of the fields on this form is the "Watch List" field, an "Single Line Text" type field with reference/map to the real "Watch List" field (screenshot 1).
People can write down several email addresses, seperated by a comma. This goes very well and the entered addresses come succesfully into the backend Incident and can be used for outbound (Incident) emails (screenshot 2 & 3).
Now I got the problem that plain text can also be entered within this Record Producer field and when you use comma's, each sentence (from start to comma) comes separately in the backend Incident. As you can imagine, these sentences are no valid email addresses and cannot be used for any outbound emails (screenshot 4, 5 & 6).
How can I make this Record Producer field "email address only", with the possibility to enter several email addresses?
I've tried to change the "Type" of the Record Producer field from "Single Line Text" to "Email" (screenshot 7). This works, but unfortunately for only one email address, while I want to be able to enter a few email addresses.
Separating email addresses by comma or a semicolon (even with or without spaces) does not work (screenshot 8 to 11).
Please see the screenshots below for more information. Thanks in advance for any useful tips!
Screenshot 1:
Screenshot 2:
Screenshot 3:
Screenshot 4:
Screenshot 5:
Screenshot 6:
Screenshot 7:
Screenshot 8 - 9 - 10 - 11.:
Solved! Go to Solution.
- Labels:
-
ITSM: General

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-19-2023 08:07 AM - edited ā12-19-2023 08:10 AM
Hi @AdamUMC
You could leave the variable as type single line text and use a regex to validate if only correct email addresses have been filled in.
(([\w\.\-_]+)?\w+@[\w-_]+(\.\w+){1,}[,\s]*)+
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-19-2023 08:07 AM - edited ā12-19-2023 08:10 AM
Hi @AdamUMC
You could leave the variable as type single line text and use a regex to validate if only correct email addresses have been filled in.
(([\w\.\-_]+)?\w+@[\w-_]+(\.\w+){1,}[,\s]*)+
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-19-2023 09:36 AM
Thank you! I will try this tomorrow and report if it's OK and ofcourse thereafter accept the solution!
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-21-2023 04:24 AM
Thank you @Peter Bodelier! This works very well!
BTW, what's the difference between this regex and the other one, that's out-of-the-box present?
This one is for just only one email address?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-27-2023 12:42 AM
Yes, the OOTB one is just for 1 address.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.