Class nnjl.forms.FormService.FormMetadata
Defined in: nnjl.forms.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Creates a new FormMetadata
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
nnjl.forms.FormService.FormMetadata.getField(fieldname)
get the field metadata
|
| <static> |
nnjl.forms.FormService.FormMetadata.getFieldNames(fieldname)
get an array of field names
|
| <static> |
nnjl.forms.FormService.FormMetadata.getName()
get the form name
|
| <static> |
nnjl.forms.FormService.FormMetadata.getProp(propName)
get a form config property by its name
|
Class Detail
nnjl.forms.FormService.FormMetadata(from)
Creates a new FormMetadata
- Parameters:
- {json} from
- metadata as json *
Method Detail
<static>
{nnjl.forms.FormFieldMetadata}
nnjl.forms.FormService.FormMetadata.getField(fieldname)
get the field metadata
- Parameters:
- {string} fieldname
- Returns:
- {nnjl.forms.FormFieldMetadata} FormFieldMetadata of the Form.
<static>
{string[]}
nnjl.forms.FormService.FormMetadata.getFieldNames(fieldname)
get an array of field names
- Parameters:
- fieldname
- Returns:
- {string[]} list of field names
<static>
{String}
nnjl.forms.FormService.FormMetadata.getName()
get the form name
- Returns:
- {String} the form metadata name
<static>
{string}
nnjl.forms.FormService.FormMetadata.getProp(propName)
get a form config property by its name
- Parameters:
- {string} propName
- Returns:
- {string} property value