Browsed by
Category: Netsuite Tips

Running client script in view mode

Running client script in view mode

In order to run clientscript in view mode you need to modify the form on BeforeLoad using a UserEvent script and attach a Clientscript file to the form using clientScriptFieldId function. Here’s some examples on how to do it:   Suitescript 1.0:

Here’s what you would have in your 1.0 Clientscript customscript_yourscriptid file:

Suitescript 2.0:

Here’s what you would have in your 2.0 Clientscript file:

Suitescript 2.0 InlineHTML Hack: If you need to run your code without having to click…

Read More Read More