Skip to main content
November 9, 2021
Question

Enter just numbers in text fields

  • November 9, 2021
  • 7 replies
  • 0 views

I tried to add an!integer Field but it delete zeros at the beginning so I want a condition or a validation for this case

    7 replies

    richardm900458
    November 9, 2021

    you can try to treat it as string/text and use a!textfield 

    asmas0002Author
    November 9, 2021

    a!textfield but I need to reject text and accept numbers 

    stewart.burchell
    November 9, 2021

    Yes. You can add a validation to the textfield and check that the content only contains digits. 

    stefanhelzle0001
    Brainy
    November 9, 2021
    richardm900458
    November 9, 2021

    Hi stefan,
    awesome input! I didn't know this easy approach. I will definitly play more with the text() function regarding formating.