Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

JavaScript parse error

Govindaraju
Tera Contributor

Hi All,

 

Good day to you. i am new to this Snow and part of my learing i created email field part of getReference. the getreference is working fine and able to display email id when i select name

 

while click the update button for saving the record, i got the below error 

JavaScript parse error at line (1) column (11) problem = missing ; before statement (<refname>; line 1)

 

further checking, the error due to @ and without @ (abel.tuterexample.com),  i able to save it. so i want to know how to take out the validation and which script. please advise. 

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@Govindaraju Please post the script you are using on OnSubmit, it will allow us to analyse and recommend a solution.