« Return to Thread: {html_select_date} related query
gags007 wrote:thanks Sylvie that helps.
>From: Sylvie Greverend <sgreverend@gmail.com>
>Reply-To: sgreverend@gmail.com,Tiki users mailing list
><tikiwiki-users@lists.sourceforge.net>
>To: Tiki users mailing list <tikiwiki-users@lists.sourceforge.net>
>Subject: Re: [Tikiwiki-users] {html_select_date} related query
>Date: Thu, 15 Mar 2007 12:50:54 -0400
>
>http://smarty.php.net/manual/en/language.function.html.select.date.php
>has a couple of params
>On Wed, 2007-03-14 at 09:03 -0700, gags007 wrote:
> > Hi Friends,
> >
> > I want to add a default value at the begining of the "Day", "Month" and
> > "Year" dropdowns that are displayed when i use the following command in
>my
> > tpl file:
> >
> > {html_select_date prefix='birth_' field_order='DMY' end_year='-100'}
> >
> > Is that possible? I need to use this to check if the user has actually
> > selected a value from the dropdowns or not?
> > For example, I want my day dropdown to look like this:
> >
> > <select name="birth_Day">
> > <option label="00" value="-1">Select a Day</option> // This is the
>extra
> > value I want to add for each dropdown
> > <option label="01" value="1">01</option>
> > <option label="02" value="2">02</option>
> > <option label="03" value="3">03</option>
> > <option label="04" value="4">04</option>
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share
>your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Tikiwiki-users mailing list
>Tikiwiki-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
_________________________________________________________________
Catch the complete World Cup coverage with MSN
http://content.msn.co.in/Sports/Cricket/Default.aspx
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tikiwiki-users mailing list
Tikiwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
« Return to Thread: {html_select_date} related query
| Free embeddable forum powered by Nabble | Forum Help |