Client script onsubmit validation

SUser1234
Tera Contributor

I want to apply the restriction on submitting the record producer.

The record producer should not allow the submission if the submitter has no more than 10 active submission.

 

Or successfully the closed case in the current calendar.

How can we restrict this submission.

10 REPLIES 10

Did you set up a script include? Is it accessible from the scope you need? Have you tried using another query? Or using an encoded query? Have you tried using GlideAggregate to get a COUNT? instead of using a count variable? Try asking ChatGPT how to achieve what you want. It will be able to help.