Monday, 23 January 2017





Want to avoid standard validation rules(like required fields)  in Visualforce page when cancel button is clicked ?



By adding attribute "immediate = true " in apex:commandbutton you can avoid standard validation rules in visualforce page.

Please find below sample code 

<apex:commandButton value="Click Me" immediate="true" action="{!selectedval}" rerender="table1" />







No comments:

Post a Comment

Tools for Lightning Web Component Development

 Below are the tools required for Web Component Development 1. Chrome Browser (Prefered) You can download it from Google 2. Visual Studio Co...