WordPress.org

Forums

Participants Database
Feature suggestion - date (6 posts)

  1. borisrio
    Member
    Posted 2 years ago #

    Hi there
    Would like to suggest that the Date Form Element displays three dropdown menus (Month, Day, Year) instead of one plain text field. That would make it much easier to implement in our forms as well as for the end user to select it.
    Thanks for the great plugin!
    Boris

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, I am adding this feature...but what I suggest in the meantime is you use the "strict date formatting" option and then add help text to your date field that gives the exact format you're looking for.

  3. borisrio
    Member
    Posted 2 years ago #

    Thanks for the quick response xnau. I'm not sure what the "strict date formatting" option is, but I'll find out and implement it. What is the standard format for the date field?

    Best,
    Boris

  4. xnau
    Member
    Plugin Author

    Posted 2 years ago #

    Boris,

    The standard method is PHP's strtotime() function...check this out to get the details: http://us.php.net/manual/en/function.strtotime.php

    However, if you are using "strict date formatting" the format you are looking for is the date formate set in your WP general settings. With this option checked, the user must input the date with the exact format specified in the settings. Note that this only affects how dates are interpreted when input by the user.

  5. bw3em
    Member
    Posted 2 years ago #

    This will be a great addition, but will existing dates transfer over OK? For example we request date of birth which must be inserted as "1 January 1970" format

    Any clue as to when the new update will be released?

    In great anticipation! Em

  6. borisrio
    Member
    Posted 2 years ago #

    Hey xnau, thanks for the support. I guess I'll be able to avoid using the date field for now and hope to see that feature and the captcha in a near future version.
    Great plugin, thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Participants Database
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic