1. Cruise
  2. Bug Report
  3. Wednesday, December 10 2014, 03:59 PM
Hi,

We are experiencing problems with required / not required fields:

In our form we have the following two email fields:
1) The obligatory core field which is hidden at the website (alias: email)
2) A nonobligatory which is visible at the website (alias: email_public).

When IE9 users tries to update their contact data and do not fill out the second field, they can't save the form and the nonobligatory field (email_public) lights up as a required field.

We have tested this in a lot of browser/system combinations (Mac, Windows, Explorer, Crome, Firefox and Safari) and found that the issue seems to only occur when using Internet Explorer 9 on Windows 7 (havn't tested Windows 8, though).

You should be able to reproduce the issue in Windows / IE9.

Hope you can help as it is a bit frustrating. Thank you.

Best regards
References
  1. http://www.gynaekologer.dk
Accepted Answer
admin Accepted Answer
Admin
Hi,
I found the cause of this error.

the problem is not required/not required, this depends on the incorrect email validation.
IE9 don't have support for placeholder, so its value is empty, it's assumed placeholder as value, so this field is not validate, if you change your placeholder like email the problem gone. example: "[email protected]".

The problem comes from file /media/system/js/html5fallback.js, this is a Joomla bug.

I am very sorry not to be able to solve this problem directly :(
  1. more than a month ago
  2. Bug Report
  3. # Permalink
admin Accepted Answer
Admin
Hi,
sorry for late, I have replied in wrong topic :D

IE9 does not fully HTML5 support, so in Joomla there is a Javascript code to simulate HTML5, this code have some problem in old version of Joomla. Which version of Joomla you have?

Email type field is generated by Joomla API (no Easy Profile) with correct HTML5 format. So no errors from us.
  1. more than a month ago
  2. Bug Report
  3. # 1
Cruise Accepted Answer
Hi

Thank you for your reply. The site uses the current version of Joomla.

There's several nonobligatory fields in the form, but the error only occur on the second (and nonobligatory) email field.

I can't understand why this IE-specific Javascript code would only affect the second email field and not any of the other fields in the form. I would expect the same behaviour in the other nonobligatory fields if the IE-specific Javascript was causing the problem. Does the email field differ that much from the normal text fields?

Hmmm..., could it have anything to do with the validation of the typed content in the email field?

Best regards
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
We have open a new item on Joomla! Issue Tracker site, with the hope that in the next version of Joomla is fixed.

You can find ticket at http://issues.joomla.org/tracker/joomla-cms/5411
  1. more than a month ago
  2. Bug Report
  3. # 3
Cruise Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.