WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
[resolved] Date Picker issue after 2-8-2013 update (8 posts)

  1. jesling
    Member
    Posted 1 year ago #

    I just updated the plugin and now the date picker, when viewed in Chrome, has two calendars. It works fine with IE and Firefox though. Here is an example, but you need to view it with the Chrome browser - http://rickochetentertainment.com/site/contact/

    http://wordpress.org/extend/plugins/visual-form-builder/

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    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.

  3. jesling
    Member
    Posted 1 year ago #

    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.

  4. wp_hela
    Member
    Posted 1 year ago #

    Same problem by the way in Opera ...

  5. wp_hela
    Member
    Posted 1 year ago #

    @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

  6. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    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.

  7. wp_hela
    Member
    Posted 1 year ago #

    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.

  8. jcpcosta
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.