Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Preventing Duplicates With Online Forms
Hello Everyone,
We have custom HTML online forms that we use for cases and custom records. We have noticed however that people like to hit the Submit button multiple times, and even though they see the warning about the form already being submitted, they will re-submit anyway. This process occurs so fast that we are unable to prevent a duplicate record from being created.
One of the ideas we had was to disable the Submit button when the form is being submitted so someone is unable to submit the form multiple times. However, we get stuck if an error is thrown by NetSuite. For example, if the person needs to fill in a mandatory field, NetSuite will throw a message to the user, but the field is still disabled. In this case, we would need to find a way to determine that NetSuite threw an error, and that the button needs to become enabled again.