Validating certain fields in a form when a user clicks a form button

karanchawla2002
Kilo Explorer

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

5 REPLIES 5

ashish68
Kilo Expert

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