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)
Parameter Type Description
fieldName String The fully qualified field name.
script String The Java script to be added/placed into a push button field.

Return Value

true if field scrip was successfully set.

See Also