Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Suitelet Question
I have a suitelet that creates a form and attach a file to the file cabinet.
Adding file & attaching that to the job works fine.
I want to give an alert if some fields in the form are blank. Can this be done?
When I use the function,
form.addSubmitButton('Submit')
The script added the file and attached the file to the job.
But when I used
form.addButton('custpage_submit', 'Submit2','submitScript()' );
the 'submitScript() function got executed, but it failed to add the file to the file cabinet.
Is there any way that I can get the url of the attached file.
0