Adobe InDesign CS6 Server (8.0) Object Model JS: SubmitFormBehaviors

InDesign Server CS6

Class

SubmitFormBehaviors

 A collection of submit form behavior objects.

See also SubmitFormBehavior.

QuickLinks

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

SubmitFormBehavior [] (index: number)
Returns the SubmitFormBehavior with the specified index.

ParameterTypeDescription
indexnumberThe index.

SubmitFormBehavior add ([withProperties: Object])
Creates a new SubmitFormBehavior.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new SubmitFormBehavior (Optional)

SubmitFormBehavior anyItem ()
Returns any SubmitFormBehavior in the collection.

number count ()
Displays the number of elements in the SubmitFormBehavior.

Array of SubmitFormBehavior everyItem ()
Returns every SubmitFormBehavior in the collection.

SubmitFormBehavior firstItem ()
Returns the first SubmitFormBehavior in the collection.

SubmitFormBehavior item (index: varies)
Returns the SubmitFormBehavior with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

SubmitFormBehavior itemByID (id: number)
Returns the SubmitFormBehavior with the specified ID.

ParameterTypeDescription
idnumberThe ID.

SubmitFormBehavior itemByName (name: string)
Returns the SubmitFormBehavior with the specified name.

ParameterTypeDescription
namestringThe name.

Array of SubmitFormBehavior itemByRange (from: varies, to: varies)
Returns the SubmitFormBehaviors within the specified range.

ParameterTypeDescription
fromLong Integer
String
SubmitFormBehavior
The SubmitFormBehavior, index, or name at the beginning of the range. Can accept: SubmitFormBehavior, Long Integer or String.
toLong Integer
String
SubmitFormBehavior
The SubmitFormBehavior, index, or name at the end of the range. Can accept: SubmitFormBehavior, Long Integer or String.

SubmitFormBehavior lastItem ()
Returns the last SubmitFormBehavior in the collection.

SubmitFormBehavior middleItem ()
Returns the middle SubmitFormBehavior in the collection.

SubmitFormBehavior nextItem (obj: SubmitFormBehavior)
Returns the SubmitFormBehavior whose index follows the specified SubmitFormBehavior in the collection.

ParameterTypeDescription
objSubmitFormBehaviorThe SubmitFormBehavior whose index comes before the desired SubmitFormBehavior.

SubmitFormBehavior previousItem (obj: SubmitFormBehavior)
Returns the SubmitFormBehavior with the index previous to the specified index.

ParameterTypeDescription
objSubmitFormBehaviorThe index of the SubmitFormBehavior that follows the desired SubmitFormBehavior.

string toSource ()
Generates a string which, if executed, will return the SubmitFormBehavior.

Element of

Button.submitFormBehaviors

CheckBox.submitFormBehaviors

ComboBox.submitFormBehaviors

ListBox.submitFormBehaviors

RadioButton.submitFormBehaviors

SignatureField.submitFormBehaviors

TextBox.submitFormBehaviors

Jongware, 28-Apr-2012 v3.0.3iContents :: Index