No initial or trailing spaces input - help!

by P. Andreas Schmidt, IVE

Version 2 (June 30, 2022)

Download (7 downloads)

This is an example of a text input where you don't want initial or trailing spaces. It's not perfect, so I'd love some comments!
There are two inputs. The first one using regex to exact those spaces and then showing a message where they're regexed away.
The 2nd one using regex so you can't enter anything with initial or trailing spaces. But here I could only get it to work if you have a minimum of 2 char input, so you can't just type in one letter...
That's what I mean it's not perfect and I'd love comments.
Thx

5.0 average rating from 1 reviews

5 stars
1
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.