Validating certain fields in a form when a user clicks a form button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2014 01:37 PM
I am working on a change ticket form with two form buttons which are "Submit" and "Request Approval". Submit is a way of inserting the record in the table.However the ticket will only move forward when the user presses "Request Approval".
I want to impose certain restrictions ONLY when a user clicks on "Request Approval" . By restrictions I meaning prompting the user to fill the Planned Start Date , End Date. However no such message should appear when a user clicks on Submit.
One way of doing it is to put in a condition for visiblity through a UI action. But I want the button to visible at all times. Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2014 02:04 PM
Hi ,
I think this is what you are looking for. This will not interfere with buttons.
» How to Execute Client Script and Business Rule Script in One UI Action
Thanks
Ashish