API Docs for: Core 1.0.0.0.pre4, Basepack 1.0.0.0.pre3
Show:

Netzke.Form.Base Class

Client-side code for Netzke::Form::Base

Methods

netzkeApplyFormErrors

(
  • errors
)

Called by the server to display varidation errors.

Parameters:

  • errors Array

    Array of errors as provided by the submit endpoint

netzkeExtractFields

(
  • items
)

Recursively extract field names from items.

Parameters:

  • items Array

netzkeOnApply

()

Handler for the apply action.

netzkeOnSubmitSuccess

()

Called by the server on successful submit.

netzkeSetFormValues

()

Sets form values (including associations).

netzkeSetReadonlyMode

(
  • onOff
)

Dynamically changes form's read-only state.

Parameters:

  • onOff Boolean

netzkeUpdateToolbar

()

In lockable mode, dynamically updates the toolbar depending on the read-only state.