Need to validate the select services matches the service on incident form on submit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 08:14 AM
Hello,
I have a requirement to create a validation to prevent users from creating incidents with a service offering that does not match the service. For example, from the incident form,the user selects the service and service offering that falls under the selected service. Then the user decides to change the service again but forget to update the service offering. The incident is saved with the the mismatched service and offering. How can I prevent this?
I have tried creating a client script with a script include but it is giving the error message for every change , even if the service offering falls under the correct service.
table (incident)
Client Script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 12:37 AM
Why not just empty the service offering field on change of the service? You will force them to select it again. A client script can help you out here.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 06:07 AM
Okay, thank you... I will give it a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 09:54 AM - edited 03-21-2025 11:05 AM
I tried with this client script and now its not working at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 12:29 PM
I found another solution and it is working. Thank you for your help!