Thursday, September 27, 2018

SuiteScript Error "You have entered an invalid form element name." After Clicking Edit for a Customer

When attempting to edit a customer record either from Lists > Relationships > Customers or via global search, the system throws a SuiteScript Error "You have entered an invalid form element name.  It must be prefixed with "custpage", unique, lowercase, and cannot contain any non-alphanumeric characters (except for the underscore character) in order to be added to the form or sublist."
 
You have to verify the scripts deployed to the form and ensure that all are unique and nothing is duplicated.
 
1. Navigate to Customization > Scripting Scripted Records.
2. Edit Customer.
3. In the User Event Scripts subtab, look for the script that is duplicated.
4. Uncheck Deployed box on one of the duplicated script.
5. Click Save.
 
Go back to Lists > Relationships > Customers.  Edit any customer to verify if the error has been resolved.
 

No comments:

Post a Comment