how do I display a warning before record submit in...
# suitescript
l
how do I display a warning before record submit in a user even script ( I still want the record to submit but display a warning first)
b
Wrong script type. Use a client script
j
^^ saveRecord entry point
l
and in a client script what function should I use ?? alert()??
b
confirm is my general recommendation
l
i am writing 1.0 script
b
implement a saveRecord event function (try not to name it saveRecord). Use something like window.confirm to confirm your user's action