Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Trim trailing (and leading) blanks (spaces) in all form input fields #786

Closed
vorburger opened this issue Oct 4, 2019 · 0 comments
Closed
Milestone

Comments

@vorburger
Copy link
Contributor

I just supported an end-user who really wanted to register (her kid) for an event on the Alf.io instance used for http://scratchday.ch, and got stuck because "it wouldn't accept the email address".

I was puzzled because it seemed like a perfectly normal email (no special characters), so I asked for a screenshot, and guesses that the problem was "just" an extra trailing space character in the email field... which indeed turned out to be the problem (participant confirmed it worked after manually removing the space).

In an ideal world, I guess it it would be cool if trailing (and leading) blanks (spaces) in all form input fields could be automatically String.trim()'d?

This may seem trivial to Alf.io users e.g. of technical conferences, but the kind of event I use Alf.io for, almost lost a kid a chance to learn https://scratch.mit.edu/ and thus have a chance to become a future Alf.io contributor in a few years! ;-)

@cbellone @syjer

@syjer syjer added this to the 2.0-M2 milestone Oct 4, 2019
cbellone added a commit to cbellone/alf.io that referenced this issue Oct 20, 2019
syjer pushed a commit that referenced this issue Oct 20, 2019
* #731 - tickets must be assigned by default

* update text

* #786 - basic email validation

* update frontend version
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants