Script Validation

Discussion created by fawad001 on Sep 12, 2017
Latest reply on Feb 4, 2019 by soco1509



I have two fields "Obtained Marks" and "Total Marks", I want to validate an "Obtained Mark"  field that if  an"Obtained Marks" is greater than "Total Marks" show a dialogue message which is working fine by applying a validation with calculation and putting some conditions inside that but as an output I find bit confusing behaviours.


1. A message appears on dialogue box with button "Revert Record", which should be "Revert Field".

2.By moving to the fields with the tab, It does not get validate until unless user didn't click on any object.


Please tell me some appropriate method so that I can apply validation on that field when ever user moving with the tab and also I want that "Revert Field" button should view instead of Revert Record.