WordPress.org

Forums

Participants Database
[resolved] Date question revisited? (3 posts)

  1. rwilki
    Member
    Posted 1 year ago #

    Hi - awesome plugin (vsn 1.5.2) !!!! It is so powerful even if it's tricky to customize. I love it.

    I just discovered that I can use a date field rather than a text line in my forms. But I have a very good regex statement that seems to work fine so I don't know if it's worth changing anything at this point.

    #^(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d$#i

    Do you know if anyone has had any success either hooking into a date picker, or even using a jquery validator so that it reformats the content as it's being entered?

    Thanks again!
    Bob

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

  2. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    If you store your dates as text, you won't be able to use the field for sorting or for searches and dates are compared. If you can, you should use a date field for dates, it's just a lot easier than trying to translate strings.

  3. rwilki
    Member
    Posted 1 year ago #

    great great point! thanks for the tip!

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.