Skip to main content
kavyam0002
Brainy
July 22, 2024
Solved

validation for textfied

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

    konduruc733182
    Inspiring
    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.

    2 replies

    konduruc733182
    Inspiring
    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.