mubangud Absent Member.
Absent Member.

prevent transition based on field selection.

SBM 2009 R3 version

Is there a script that will prevent user from transitioning an record if the correct option, from a single selection or binary, is not selected by a user?

Transition = Next Step

Field = "Is Info Correct" (Yes or No)

If the User selects transition "Next Step" but fails to say select "Yes" option for the "Is Info Correct" field, the system will treat this as not valid and reject them from submitting the record.

Javascript code help is needed for this
Tags (1)
1 Reply
bamos Absent Member.
Absent Member.

Re: prevent transition based on field selection.


Take a look at the help and look for the javascript event called AddSubmitCallback. There is an example in there that is basically what you're asking for. If that event returns false then the form won't submit.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.