Switchv1

A switch in an Adaptive Form allows users to select one of two options. Each switch is represented by a Data Value (value to be sent to backend) and display value

Examples

Standard

A simple switch.

ON

This is a short description.

This is a long description.

  1. jcr:title: Switch
  2. description: <p>This is a long description.</p>
  3. tooltip: <p>This is a short description.</p>
  4. enum: 1,0
  5. enumNames: ON,OFF
  6. sling:resourceType: forms-components-examples/components/form/switch
  7. fieldType: checkbox
  8. tooltipVisible: true
    
        

    
ON

This is a short description.

This is a long description.