Support » Plugin: Contact Form 7 » Mac – Safari and Firefox

Viewing 1 replies (of 1 total)
  • Thread Starter nicolaelvin

    (@nicolaelvin)

    I worked it out, its the input type of “date”. This isn’t supported in IE, FF or safari yet.

    You need to first edit lines 55 – 62 in contact-form-7>includes>modules>date.php.

    Instead of saying:

    if ( wpcf7_support_html5() ) {
    		$atts['type'] = $tag->basetype;
    	} else {
    		$atts['type'] = 'text';
    	}

    Comment everything out except the 4th line so it looks like :

    //if ( wpcf7_support_html5() ) {
    		//$atts['type'] = $tag->basetype;
    	//} else {
    		$atts['type'] = 'text';
    	//}

    Then install Contact Form 7 Datepicker

Viewing 1 replies (of 1 total)
  • The topic ‘Mac – Safari and Firefox’ is closed to new replies.