I conducted a test where I copied a tab character from Notepad and pasted it into an Appian text field. Appian recognizes the tab character as a special character rather than treating it as empty spaces.
How can I configure or validate this so that Appian treats tab characters as empty spaces? Any insight would be appreciated.
Discussion posts and replies are publicly visible
Can you somehow visualize this? Some Screenshots?
In the "Objet" field, I performed the test mentioned above using the tab key, and it did not validate as empty as expected.
Can you share the code of that validation?
Be aware that whether a TAB is considered empty or not, very much depends on the specific use case. So a general solution is not possible. But you can easily add your own save logic that removes any entered white space.
https://docs.appian.com/suite/help/24.4/fnc_evaluation_save.html
textField( value: trim(recordType!Test.field) )
This was the only validation I did, it works for spaces but it doesn't for tab character.
I didn't see any reference for empty spaces on the link you sent above
be aware that the validation does not evaluate the value displayed to the user, but the value stored in your variable or rule input. So you will have to use a!save() to modify the saved value. Use the stripwith() function to remove any characters you want.