How to set the tab index for the different fields in a form??? I don't see a

Certified Senior Developer
How to set the tab index for the different fields in a form??? I don't see any explicit property for this. ...

OriginalPostID-60960

OriginalPostID-60960

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Hi Raghu,

    Please check if you could achieve the tab functionality using below code

    a!formLayout(
      label: "Form",
      contents: {
        a!columnsLayout(
          columns: {
            a!columnLayout(
              contents: {
                a!textField(
                  label: "Name 01",
                  labelPosition: "ABOVE",
                  refreshAfter: "UNFOCUS"
                )
              }
            ),
            a!columnLayout(
              contents: {
                a!textField(
                  label: "Name 02",
                  labelPosition: "ABOVE",
                  refreshAfter: "UNFOCUS"
                )
              }
            )
          }
        ),
        a!columnsLayout(
          columns: {
            a!columnLayout(
              contents: {
                a!textField(
                  label: "Name 03",
                  labelPosition: "ABOVE",
                  refreshAfter: "UNFOCUS"
                )
              }
            ),
            a!columnLayout(
              contents: {
                a!textField(
                  label: "Name 04",
                  labelPosition: "ABOVE",
                  refreshAfter: "UNFOCUS"
                )
              }
            )
          }
        )
      },
      buttons: a!buttonLayout(
        primaryButtons: {},
        secondaryButtons: {}
      )
    )