On Submit validation in Catalog Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 04:57 AM
Hi Community,
I have one requirement, In form level having requestor for filed and assignment group filed, requestor field taking the user table and in assignment group filed taking the group table, and in my requirement they ask me to create one new check box filed which is assign to me and if user check the check box which is assign to me and user is the member of that group then the form should submits and if user is not member of that group then form should not be submitted.
I wrote a script, it's working when user is not the member of the group correctly, throwing an error and prevents the form submission. but when user is the member of the assignment group and checks the checkbox then form is not submitted, but form should submit.
please checks the below code and correct me .
On submit Client Script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 11:44 PM
You can try by below client script
