Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-24 19:00:44

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Looking for a date picker

As the title says, I am looking for a date picker for a user form. The idea is for the user to select a date, which is stored in a custom field.

I’d like something that allows me to restrict the date to a maximum of 6 months from the date of form submission, after which time the user form will be deleted. Preferably it would be good to avoid an instance whereby the user submits the form for something like 2 years!

Any ideas for the good date picker?

Offline

#2 2007-12-24 20:41:16

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: Looking for a date picker

There is a date picker used by zem_event that may suit the need, given that the plugin may give you some php context to work with as well.

Offline

#3 2007-12-24 21:10:56

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Looking for a date picker

Thanks Rick. I have been looking through one of the jquery plugins, and also the one your refer to above but I have not seen yet what would work for my needs.

This one seems to be the closest to what I want so far. It would be good to either set the date in terms of “1 month”, “2 months” etc, and let the date picker put the correct date in the field. Doesn’t matter though if I can set a limit from today > 6 months from today.

Offline

Board footer

Powered by FluxBB