Form submission should restrict if Requested By's email address does not match the entered email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 04:53 AM
In one of the catalog items, I am having a filled mailbox type, and in that I am having the option as personal mailbox. So if I select the personal mailbox, then there is another field that is the mailbox email address. So if the requested by is raising that request, then in the mailbox email address field, if that requested by user's email address is present, then user should be able to submit the form. But if that mailbox email address is not matching with the requested by's email address, then the user should not be able to submit the form.
So can you please help me to implement this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 08:32 AM
So, the catalog item can only be submitted when the "Requested by" email address matches the email address entered in the "Mailbox email address" field? You could try an onChange client script on the required "Mailbox email address" field. If the value does not match the "Requested by" email address, display an alert and clear the value in the "Mailbox email address" field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 09:14 AM
Hi @Jordan Vignoni,
I am using this onSubmit Client Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 09:41 AM - edited ‎09-04-2024 09:42 AM
I would try using an onChange client script like this one, and have the "Variable name" be mailbox_email_address: