Certain fields of a form are configured through a code to be hidden under some statuses. This works OK in Service Catalog but not in Service Point.
Code being used:
$(_.request.status<418) || $(_.request.status>418)
error in F12 Developer tool > console
SyntaxError: Unexpected token ')'
Release : 17.3
Component : SDM - Service Point
Error in the javascript code being used
Change the script code from:
$(_.request.status<418) || $(_.request.status>418)
to
$(_.request.status<418 || _.request.status>418)
Technically catalog/Servicepoint removes the first and last braces and evaluates the javascript in this case _.request.status<418) || $(_.request.status>418 . so since ) is not a valid expression it gives us the error. In Catalog/SP this error is thrown in the console.