- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2022 11:22 PM
I want to display error message on catalog item(UI/Portal) from business rule and abort action - submitting RITM from that catalog item
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2022 12:27 PM
If anyone interested.
I have used script include to show error message via onchange and onsubmit client script. when BR is involved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2022 11:43 PM
@Sneha
If you want to restrict the catalog item to be submitted use onSubmit() catalog client script where use return false
g_form.addErrorMessage("Your message"); //in client side
gs.addErrorMessage("Your message"); //in server side
function onSubmit() {
//Type appropriate comment here, and begin script below
return false; //to abort the action to be submitted
}
Hope it helps
Thanks
Murthy
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2022 12:27 PM
If anyone interested.
I have used script include to show error message via onchange and onsubmit client script. when BR is involved.