Specifies what application can
execute the script.
Keep in mind these points when specifying the application that
can execute a script:
-
The runAt setting is enforced even if another script
calls the script.
-
Scripts in forms designed for printing run at the server
even when you set the scripts to run at the client.
-
The preSubmit event does not execute in interactive forms
and forms designed for printing when you set the script to run at
the server.
Syntax
Reference_Syntax.runAt = "client | server | both"
Values
Type
|
Values
|
String
|
-
client
(default)
-
server
-
both
The script runs
only on the client.
The script runs
only on the server.
The
script runs on both client and server.
|
JavaScript
NumericField1.calculate.script.runAt = "both";
FormCalc
NumericField1.calculate.script.runAt = "both"
|
|
|