what is the best way to add validation for a suite...
# suitescript
s
what is the best way to add validation for a suitelet that is a form to submit data ?
e
You can attach a Client Script to the
Form
instance via Form.clientScriptModulePath or Form.clientScriptFileId
s
so when the use hits the submit button on the Suitelet what will be the entry point of the client script
e
saveRecord
s
does it have to be script record or just inside the file cabinet
e
No Script record needed