Learning the validate field function in CS
Alert is popping up infinite times , what could be the issue ?
d
DATTA
04/24/2019, 8:42 AM
before end of your function write
DATTA
04/24/2019, 8:43 AM
return true ;
f
Frederick
04/24/2019, 9:34 AM
We tried that.. It didn't work.
b
battk
04/24/2019, 9:56 AM
you may want to paste your updated code here. Most common cause of misbehaved validate functions (especially infinite ones) is not returning true or false
j
jkabot
04/24/2019, 2:19 PM
After your alerts you should return false to reject the field change
Additionally if the field is niether tranid or duedate you must return true to let changes to those fields go through.
As far as netsuite sees it, if you get to the end of hte function and you don't return anything, it is equivalent to returning false