Skip to main content
Known Participant
Apr 26, 2022 12:20 AM UTC
Question

any one suggest me how to create text fields like 2 cross 2 , 10 cross 10 pattern ......etc

i tried but i didn't get expected out put..

a!localVariables(
a!forEach(
items: enumerate(10) + 1,
expression: {
a!forEach(
items: enumerate(10) + 1,
expression: a!textField()
)
}
)
)

3 replies

gopalk2865
Participating Frequently
Apr 26, 2022 3:02 AM UTC

Hi, could you please elaborate your question little bit and your use case?

harshitb6843
Brainy
Apr 26, 2022 5:21 AM UTC

To create vertical textFields, you can just add a textField below another. But to arrange them side says, you will have to use either columns layout or side by side layout.

 

a!forEach(
  items: enumerate(10),
  expression: a!columnsLayout(
    columns: a!forEach(
      items: enumerate(10),
      expression: a!columnLayout(
        contents: a!textField()
      )
    )
  )
)

Known Participant
Apr 26, 2022 6:05 AM UTC
  • thank you harshitb0001 .. i got expected result for your response.