Skip to main content
Known Participant
Feb 3, 2025 11:38 AM UTC
Question

Validation

Hi Team,

Validation should be triggered if the user enters two consecutive dots in the text field. How can we handle this?

    8 replies

    stefanhelzle0001
    Brainy
    Feb 3, 2025 11:45 AM UTC

    if(
      find("..", "123..456"),
      "ERROR",
      "OK"
    )

    Known Participant
    Feb 3, 2025 12:47 PM UTC

    Thanks it works

    Known Participant
    Feb 4, 2025 10:02 AM UTC

    The validation should throw an error when the user enters something like "3.6.5" as an example. how can we achive this?

    amaans4178
    Brainy
    Feb 4, 2025 12:00 PM UTC

    what does 'something like this' means, is it refferring to only dots or dot between numbers ?