Red square (required field) not shown in IE

Archived from the Xataface Users forum.

cinocino — Thu Jun 22, 2006 7:02 am

Hi,

first of all congratulations for the great piece of software.

I’m using dataface for a little project i will put on-line in the future. Just a submission form, a search form with results, publishing of visitors’ submitted record by email, backend with administration and support tables for forms.

I’ve got some problems:

  • With IE6 red squares are not shown near mandatory fields descriptions. On Firefox, everything it’s ok

  • With IE6 on a field with multiple choice (with checkboxes), for every line choice, Explorer shows a blank line between the description and the first choiche (4 choices, 4 blank lines before the first choice). This behaviour doesn’t happen with firefox. In the generated HTML there’s just a nonbreakingspaces; for each choice…

Others with this problem?

Tnx
Cino


shannah — Thu Jun 22, 2006 11:58 am

Hi Cino,

Thanks for the feedback. I have noticed the issue with the “red” squares on mandatory fields myself, but haven’t had a chance to address the issue. They are handled with CSS and apparently IE doesn’t support this CSS (this doesn’t work in Safari either). I’ll add this to the bug tracker and hope to get around to it sometime soon.

As for the checkbox issue, I have recently been alerted to this issue locally too. Not too sure what is causing it.. I’ll hopefully have time this weekend to look into it.

Best regards

Steve


cinocino — Fri Jun 23, 2006 3:29 am

Dear Steve,

I’ve discovered how to fix the red square problem with IE. Now I don’t know in wich file I’ve to do this simple change:

When we have a mandatory field we have this HTML generated code:

Just exchanging with this

 

Whis is the file I’ve to look foor?

Best regards
Cino


shannah — Fri Jun 23, 2006 7:38 am

Hi Cino,

Thanks so much for pointing out this fix. It has been bugging me for a while. I have made the change in my dev version so it will now be fixed for the next release. To fix your local install, you make the change in the Dataface/templates/Dataface_QuickForm_element.html and Dataface/templates/Dataface_QuickForm_groupelement.html files.

Best regards

Steve


Aoirthoir — Thu Sep 21, 2006 2:42 pm

Mr. Steve,

I am assuming that this issue is resolved in the latest release? I would like to mark it resolved.

Thank you kindly.


shannah — Thu Sep 21, 2006 3:38 pm

Yes.. resolved.


Aoirthoir — Thu Sep 21, 2006 4:11 pm

Thank you