By gafir777 on
Hello,
Is there a way to create three select list in one CCK field?
I'm thinking something like: HOURS (select list) Minutes (select list) AM/PM (select list) -- I know I could just make three different fields, but this would become more tedious to style and display than if these three drop down values are merged into one field --
Any ideas? Thanks
Comments
I tried using "Hour" but it
I tried using "Hour" but it creates a content type called "hours". Also tried office hours, which is somehow the format I'd like to have for a single field, but it only allows 7 or 14 fields for each day of the week, while what I need for my hours is just a single field made of three drop downs and sending a
h:i avalue to the database.Also tried to use the date module with a custom format but it does not seem to be displaying my custom format created in the list of input formats available.
Try the Duration field
Hi gafir,
I recently found the duration field for CCK and it works like a charm. You can choose which units of time to present to the user and you can choose the format for the output from the Display Fields tab.
~Dogtag