...
Returns a reference to the list of handlers that have been defined to trigger when the field’s value is updated by the user. Because this method returns a reference to the actual list (and not a copy), any changes you make to this list will directly affect the defined handlers. This method is intended to be used in the customize method defined in your implementation of the B25.Form.Customizable interface. Using it anywhere else, such as inside one of your event handlers, will not have any effect.
Return value: List<B25.FormEventHandler>
...
onUpdate (with parameter)
...
Name | Type | Description |
---|---|---|
handler | The handler to trigger when the field is updated. |
...
Name | Type | Description |
---|---|---|
newValue | Object | The value that you want to set the field to. |
triggerChangeHandlers | Boolean | Whether this update should trigger other event handlers. |
...
hide
Code Block |
---|
void hide() |
Hides a field on the reservation form.
...
show
Code Block |
---|
void show() |
Can be called after the hide
method to let a field appear on the reservation form.
...
disable
Code Block |
---|
void disabled() |
Disables a field on the reservation form, which will block any input in the field.
...
enable
Code Block |
---|
void enable() |
Can be called after the disable
method to let a field be available for input again on the reservation form.