Namespace: FormFields

NutrientViewer.FormFields

Form fields API (with all available types). All classes are based on Immutable.Record.

Form fields may only be created or modified if the Form Creator component is included in the license.

Classes

Methods




Methods

(static) fromSerializableObject(formField) → {NutrientViewer.FormFields.FormField}

FormField deserializer. Converts a form field InstantJSON object to a NutrientViewer.FormFields.FormField.

Parameters:
Name Type Description
formField object

Serialized FormField

Returns:
Type
NutrientViewer.FormFields.FormField

(static) toSerializableObject() → {object}

Form field serializer. Converts one of the supported NutrientViewer.FormFields to InstantJSON compliant objects.

Parameters:
Type Description
NutrientViewer.FormFields.FormField
Returns:
Type
object