Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: Jade Elizabeth on March 27, 2016, 08:27:59 AM

Title: [2.0.11] Bug? Profile field "required" when not
Post by: Jade Elizabeth on March 27, 2016, 08:27:59 AM
So I created a text field and set it to show on rego, but it's not required.

Input mask is an email address.

It's sending errors because a valid email was not entered when nothing was entered. I would really appreciate some help fixing this :D.
Title: Re: [2.0.11] Bug? Profile field "required" when not
Post by: JBlaze on March 27, 2016, 08:38:12 AM
Confirmed.

Will look at it when I get home tonight, and will track it on GitHub as well.
Title: Re: [2.0.11] Bug? Profile field "required" when not
Post by: Kindred on March 27, 2016, 09:36:17 AM
I would bet that the input mask is getting checked first  and causing the error because the <blank> does not match an email...

there is definitely a kludgy way to fix that...  but it's a kludge... :(
Title: Re: [2.0.11] Bug? Profile field "required" when not
Post by: live627 on March 27, 2016, 11:28:29 AM
Quotewill track it on GitHub as well
I think it's already been fixed in 2.1 some years ago.
Title: Re: [2.0.11] Bug? Profile field "required" when not
Post by: JBlaze on March 27, 2016, 11:32:20 AM
Quote from: live627 on March 27, 2016, 11:28:29 AM
I think it's already been fixed in 2.1 some years ago.
Possibly, but it's something that could be added in a future 2.0 patch if it's a small enough fix (it should be)
Title: Re: [2.0.11] Bug? Profile field "required" when not
Post by: Jade Elizabeth on March 28, 2016, 02:55:27 AM
That would be brilliant!

I've had 5 people email me saying it's not accepting their password (they're misinterpreting the x's on the interface). It took me a little while to track it down.

For now I set it to no html...hoping that solves it!