|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I'm trying to output a date dropdown with {html_select_date}, and have the default selected fields blank. My tag looks like this... { html_select_date prefix="start" month_format="%b" end_year="+5" year_empty="" month_empty="" day_empty="" field_order="DMY" } and it has an empty field for day, month and year at the top of the drop down boxes, but by default it is selecting the current date. How can I (if I can) get it to have those empty values selected by default? TIA -- John C. Nichel IV Programmer/System Admin Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Tue, Jul 18, 2006 at 10:17:16AM -0400, John Nichel wrote:
> Hi, > > I'm trying to output a date dropdown with {html_select_date}, and > have the default selected fields blank. My tag looks like this... > > { html_select_date prefix="start" month_format="%b" end_year="+5" > year_empty="" month_empty="" day_empty="" field_order="DMY" } > > and it has an empty field for day, month and year at the top of the drop > down boxes, but by default it is selecting the current date. How can I > (if I can) get it to have those empty values selected by default? TIA add an attribute ' time="--" ' to indicate you want empty days months and years and not current ones. HTH messju > -- > John C. Nichel IV > Programmer/System Admin > Dot Com Holdings of Buffalo > 716.856.9675 > jnichel@dotcomholdingsofbuffalo.com |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
messju mohr wrote:
> On Tue, Jul 18, 2006 at 10:17:16AM -0400, John Nichel wrote: >> Hi, >> >> I'm trying to output a date dropdown with {html_select_date}, and >> have the default selected fields blank. My tag looks like this... >> >> { html_select_date prefix="start" month_format="%b" end_year="+5" >> year_empty="" month_empty="" day_empty="" field_order="DMY" } >> >> and it has an empty field for day, month and year at the top of the drop >> down boxes, but by default it is selecting the current date. How can I >> (if I can) get it to have those empty values selected by default? TIA > > add an attribute ' time="--" ' to indicate you want empty days months > and years and not current ones. > > HTH > messju > Cool, thanks. I had tried time=0, figured that's where the answer lied, but, "missed it by that much". -- John C. Nichel IV Programmer/System Admin Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com |
|
![]() |
| Outils de la discussion | |
|
|