hi,
i use 22.3 version
i have an condition in text field
in that i want only alphabetical character (A-Z) not numerical or special character
how to do that
Discussion posts and replies are publicly visible
you can try this.
if( contains( cast( runtimetypeof(ri!input), stripwith( cleanwith( ri!input, joinarray( { "abcdefghijklmnopqrstuvwxyz", "ABCDEFGHIJKLMNOPQRSTUVWXYZ" } ) ), " " ) ), ri!input ), "", "Please use alphabetical characters only.")
Simplified it a bit.
if( a!isNotNullOrEmpty( stripwith( ri!name, lower("ABCDEFGHIJKLMNOPQRSTUVZXYZ") & "ABCDEFGHIJKLMNOPQRSTUVZXYZ" ) ), "Can only contain alphabets", {} )
cool, :)