Hello!
Do you need the value to be transformed if there are double spaces or just be shown as invalid?
If the former, you can always do a .replace()
on doubled spaces. If the latter, you can utilize the built in Validation rules to setup a Regex lookahead for double spaces with the following pattern:
^(?!.* ).+