Board Logo

How to click field to invoke popup calendar?
Halfdan - 4/14/2008 at 06:30 PM

I know this is possible, and maybe I am missing something, but can anyone tell me how to invoke the calendar by just clicking in the form field?

Right now, some viewers are simply typing the date into the field, and not clicking on the calendar image to invoke the popup calendar. I'd like to make it so that when they click in the form field to type in a date, it automatically invokes the popup calendar.

Any simple ideas? (I am using the popup calendar in a php doc if that matters any, and I am not a php guru!)


luxphp - 11/14/2008 at 03:49 PM

While implementing, I stumbled over the same problem wanting to 'force' people to use the calendar.
I added readonly="1" to the entry-field in my script, thus evitating other entries then those of calendar.
You also may give this field a different color with style="background-color:#C0C0C0;" to tell people about the specific tool to enter dates.
Best regards.


Back to forum: