• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed You can't switch from the quick post feature to the full page post creation page without filling in the required fields

Affected version
2

RobinHood

Well-known member
#1
1502446568647.png


The post isn't being submitted yet, so I'd have thought it would be okay to switch to the full fat composer without having to satisfy any required fields that I hadn't reached yet.

The warning also disappears quite quickly. Not sure if it's a little too quick or not? Does it need to disappear before you've filled in the field?

Or does it only fade after the field has been focussed, and seeing as in this instance it's the only field and it automatically gets focussed, then it always disappears pretty quick. Which is cool, as long as the unfocussed fields are still highlighted until the user views and focusses on them.

I've had issues on the registration form on one of my sites in the past that has a lot of information fields that need filling in. If they miss or make a mistake in 2 or more, I wouldn't want the warning tooltip to disappear too quickly.

EDIT: I've just checked the registration page out and while you get a nice modal telling you everything that's wrong, there's nothing to draw focus to the exact fields that need attention once that modal is gone.

1502447739191.png

On my XF1 site, all this info from the modal is instead placed in a box above the entire registration page. At least with this way you can easily reference it to see all the issues that need actioning as you fill in the form. With a modal, once it's gone it's gone until you try to submit the form again. This old way seems better to me, and could be made better still by using the warning tooltip to draw the eye to the exact fields that need actioning. Or keep the modal, but ensure that each field still gets highlighted or receives a warning tooltip to draw the eye to the exact fields that need actioning by the user.

1502447936282.png



Also, on the quick post if you use the keyboard cmd + enter to submit, you instead get this modal, with no indicator as to which field to fill in. Not a big deal, but seems inconsistent

1502446830440.png


Sorry...this post evolved into suggestions and feedback about field validation in general and feedback on the registration form too.
 

Liam W

Well-known member
#2
It should be noted that the bar with the yellow exclamation mark is coming from the browser, and not XenForo. The form field is marked as required.

Liam
 

Chris D

XenForo developer
Staff member
#3
Can only really comment on the bug which has been reported but this should be sorted in the next release.

We set formnovalidate on the More options button which should skip the built in validation.
 

RobinHood

Well-known member
#4
Thanks, I had a quick play with the registration form to look at other field validation examples and made a few suggestions for things that I think would really help the registration process go a lot smoother for new users. I don't think the new modal method of displaying a list of the errors is great compared to XF1, seeing how it disappears. Better live validation of each field would help eliminate the need for it.

https://xenforo.com/community/threads/improve-registration-form-field-validation.132382/