I have a form with a lot of validation based on what item is selected from a dropdown. An issue I just discovered was that even though I have the NotValidIfNullOrEmpty the data can still accepted (Saved) if a space is "entered" - I go into the field and physically enter a space. What is the best way to handle that problem? I tried adding on to the statement in the attached graphic: OR IF Field = " " THEN it would be invalid, but I was able to save the item.
Update 1: I am now trying to work with the Regular Expression. I am getting closer but still not the desired output: I entered this expression:
^.*(?=.*d)(?=.*[a-zA-Z]).*$
It works to some extent BUT I can still enter a blank space and the form saves
