Apparently some of our form users are trying to add new lines in a text
field and are hitting the <enter> key thus causing the form to be submitted
prematurely. There is no algorithm we can write that can determine that the
user isn't actually finished filling out the form so the form just gets sent
as is.
The only solution I can think of is to catch the <enter> key and simply
ignore it. I've done that in a test form (it feels very strange hitting the
<enter> key and having nothing happen.) and I can certainly release that
version. Just wondering if anyone else has had to solve this issue.
field and are hitting the <enter> key thus causing the form to be submitted
prematurely. There is no algorithm we can write that can determine that the
user isn't actually finished filling out the form so the form just gets sent
as is.
The only solution I can think of is to catch the <enter> key and simply
ignore it. I've done that in a test form (it feels very strange hitting the
<enter> key and having nothing happen.) and I can certainly release that
version. Just wondering if anyone else has had to solve this issue.
Comment