Skip to main content
kavyam0002
July 22, 2024
Solved

validation for textfied

  • July 22, 2024
  • 2 replies
  • 0 views

for the text field need to give validation, when user enters the value along with text,number,special character then need to show the validation like  only alpha/letters

but how can i show this, text field will allow alpha numeric and special character as well

    Best answer by konduruc733182

    if(
      lower(ri!text) = cleanwith(
        lower(ri!text),
        "abcdefghijklmnopqrstuvwxyz"
      ),
      "",
      "Accpets only Alphabets"
    )

    Add the alphabets to a constant and replace the string with constant. Create a expression rule and call it as required.

    2 replies

    stefanhelzle0001
    Brainy
    July 22, 2024
    konduruc733182
    July 22, 2024

    if(
      lower(ri!text) = cleanwith(
        lower(ri!text),
        "abcdefghijklmnopqrstuvwxyz"
      ),
      "",
      "Accpets only Alphabets"
    )

    Add the alphabets to a constant and replace the string with constant. Create a expression rule and call it as required.