V. 7.0.9 ~ Date of Birth Problem on Google Chrome

Hello,

I've just discovered a problem, I hope it's not too serious!

After installing a bunch of new modules, I've discovered the Date of Birth is not selectable anymore on Chrome.  This is vitally important to maintain my site as 18+.  

The odd thing is the DoB works on I.E.  I haven't tested the DoB on Opera or other internet browsers.

Has anyone encountered this problem before after installing a module?

I think the DoB uses flash.  So either it's Chrome in itself, or a flash module I've installed that has caused a conflict.

Is there an alternative to the flash operated DoB selection?

Quote · 23 Jan 2013

I believe that there a topic for this problem already but I would just like to give you the link for the fix.
http://www.boonex.com/trac/dolphin/changeset/17368 

http://www.ebboonex.com - Boonex Module Development
Quote · 23 Jan 2013

It is Chrome.  See the fix for 7.1

http://www.boonex.com/trac/dolphin/changeset/17368

Geeks, making the world a better place
Quote · 23 Jan 2013

Thanks for responding so quickly.

I'll see if this fix works for my version.

Quote · 23 Jan 2013

The 7.1 fix will not work on dolphin 7.0.9.

See this post. I provided a fix about 20 posts down in this topic.

Read the topic carefully to make sure you have the right one.

http://www.boonex.com/forums/topic/Date-of-Birth-field-broken-for-Chrome-v24-in-7-0-9.htm

https://www.deanbassett.com
Quote · 23 Jan 2013

I do believe that the changes where just quite the same.

On line 144 for jquery.webForms.js, you have to change the code to this 

// if( this.getAttribute("allow_input") == null) {

//    $(this).attr('readonly', 'readonly');

// }

if (window.navigator.appVersion.search(/Chrome/(.*?) /) == -1 || parseInt(window.navigator.appVersion.match(/Chrome/(d+)./)[1], 10) < 24) {

if( this.getAttribute("allow_input") == null) {

$(this).attr('readonly', 'readonly'); 

}

}

 

Also on line 166 

// if( this.getAttribute("allow_input") == null) {

//    $(this).attr('readonly', 'readonly');

// }

if (window.navigator.appVersion.search(/Chrome/(.*?) /) == -1 || parseInt(window.navigator.appVersion.match(/Chrome/(d+)./)[1], 10) < 24) {

if( this.getAttribute("allow_input") == null) {

$(this).attr('readonly', 'readonly'); 

}

}

 

This was the way that I fixed a similar problem anyway, and the site was on 7.0.9.

http://www.ebboonex.com - Boonex Module Development
Quote · 23 Jan 2013

to help, deano's fix is http://www.boonex.com/forums/?action=download&hash=AQ35FDSkYv

And add this to the bottom of templates/base/css/forms_adv.css

::-webkit-calendar-picker-indicator {
    display: none;
}

Geeks, making the world a better place
Quote · 23 Jan 2013

7th

so much to do....
Quote · 23 Jan 2013

 

7th

Is this the 7th for 7.0.9, or the 7th overall?

Geeks, making the world a better place
Quote · 23 Jan 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.