Setup an Online Customer form, added a simple js f...
# general
n
Setup an Online Customer form, added a simple js file with the entry points as per the image, simple alert / console.log but see neither on pageInit. Any ideas? I have set the file to available offline in case that's the issue
Literally just:
j
The custom form script on an online form isn’t like the ones for internal NetSuite forms. It’s just a vanilla javascript file.
included by the webpage
b
what does the file record for the client script look like'
n
@jen I hear you, I found it did not respect the fact it was SS2.0 if I did not structure it as indicated. A colleague tried to do the same but with SS1.0 and that works... interested to know if you've done it with SS2 and what that file looked like
j
Our only normal online forms just use boring regular JS, not even really SS1 or SS2 at all. Most of our forms are actually created with Suitelets as they are a bit more complex than what can be achieved with the NetSuite online form tool.