public interface WebFormField extends Field, WebFormFieldOrColumn
WebFormField
interface represents a form field in an interactive web form.
Individual fields can be accessed via the Fields
interface.
Modifier and Type | Method and Description |
---|---|
FieldControl |
getFieldControl()
Returns the first Field Control on the current page that displays this field.
|
FieldControl |
getFieldControl(Page page)
Returns the first Field Control on the specified page that displays this field.
|
boolean |
isUrlParameter()
Returns true if the field is a URL parameter field.
|
getDisplayValue, getDisplayValue, getStringValue, getType, getValue, setDisplayValue, setValue
getElementName, getElementType
createCustomList, createCustomList, getDisplayLength, getDisplayType, getHelpText, getLabelText, getList, getMaxDisplayLength, isClientAccessible
FieldControl getFieldControl()
getFieldControl(Page)
FieldControl getFieldControl(Page page)
getFieldControl()
boolean isUrlParameter()
All parameter fields and their values can be determined as follows:
var parms = {}; for ( var field in Iterator(form.fields.iterator()) ) { if (field.isUrlParameter()) { parms[field.elementName] = field.value; } }