I would like to insert date and time fields in my cforms. Any ideas how can I do that?
March 6, 2005
Not sure what exactly you're trying to do. Do want the user to (1) fill in time & date, or (2) do you want to pre-populate these fields, and/or (3) do these fields require validation?
All of the above is possible but require different configuration:
- a simple single line of text field would do
- you need to use the dynamic forms support (requires some PHP coding, see examples on the HELP! page)
- providing regexps would allow user input validation, default values for these fields to show the format, e.g. dd/mm/yyyy or hh:mm
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3749
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)