In `validateField` entry point, if I show alert an...
# suitescript
b
In
validateField
entry point, if I show alert and return false, it doesn't allow me to reset it. It shows infinite loop alert. Could I know how to fix this please? Stackoverflow says it's chrome's defect but not sure how to fix this. I tried js native alert() and also netsuite ui module dialog as well but no success
b
requires dom manipulation to solve
the problem is caused by the order of the focus and blur event
b
Thank you for your reply but any example code please?
b
depends on how well you understand the focus and blur event handlers on netsuite's fields
b
I'm familiar with jquery
b
no knowledge of jquery is actually required
the question is do you know what happens when your field is focused and then blurred
or the worse case, blurred and then focused
b
no
b
basics are looking into what a focus and a blur is
b
not sure what to do next
b
once you understand when they are triggered, you need to see the event handlers netsuite added for those 2 events
in this case via Event handler attributes
b
Netsuite events?
b
this is more html and javascript knowledge
nothing suitescript will help you