WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Date Picker issue after 2-8-2013 update

[Resolved] Date Picker issue after 2-8-2013 update

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Matthew Muro

    @mmuro

    You are seeing the HTML5 “date” input type, which was added. Chrome supports a native browser date picker and this causes two date pickers to appear, depending on where you click in the input.

    You can probably use Modernizr to only display the datepicker for all other browsers.

    I opened form-output.php and changed
    input type="date" name="vfb-%1$d" id="%2$s" value="%3$s" class="vfb-text vfb-date-picker %4$s %5$s %6$s"

    to input type="text" name="vfb-%1$d" id="%2$s" value="%3$s" class="vfb-text vfb-date-picker %4$s %5$s %6$s"

    That seems to have fixed the problem.

    Same problem by the way in Opera …

    @jesling: works for me!!!!

    Matthew,
    can you provide a solution without messing with the core files? Some functions.php voodoo, because I don’t want to loose my changes with the next update of VFB.

    regards
    Heinz

    Plugin Author Matthew Muro

    @mmuro

    I quietly rolled back the HTML date input for the Pro version in 2.2.1 and will do the same to the free when the next update occurs.

    hmmm …. Matthew, I’m using the Pro v 2.2.1, at least it says so in the plugin dashboard. But I still had to change the form-output.php.

    So, what exactly did you mean, when you say “qietly rolled back in v2.2.1”. Ich just downloaded Pro v2.2.1 and still had to fix the problem manualy.

    Hi everyone!

    I tried the solution from @jesling..well it works but not on all date fields! I’ve already checked if they have all exactly the same options selected…

    Anyone with the same prob???

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Date Picker issue after 2-8-2013 update’ is closed to new replies.