FormEditor.SetFieldScript

FormEditor.SetFieldScript method

Set JavaScript for a PushButton field. If old JavaScript existed, it will be replaced by the new one.

public bool SetFieldScript(string fieldName, string script)
ParameterTypeDescription
fieldNameStringThe fully qualified field name.
scriptStringThe Java script to be added/placed into a push button field.

Return Value

true if field scrip was successfully set.

See Also