|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
{html_select_date} related queryHi 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> |
|
|
Re: {html_select_date} related queryhttp://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@... https://lists.sourceforge.net/lists/listinfo/tikiwiki-users |
|
|
Re: {html_select_date} related querythanks Sylvie that helps.
>From: Sylvie Greverend <sgreverend@...> >Reply-To: sgreverend@...,Tiki users mailing list ><tikiwiki-users@...> >To: Tiki users mailing list <tikiwiki-users@...> >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@... >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@... https://lists.sourceforge.net/lists/listinfo/tikiwiki-users |
|
|
Re: {html_select_date} related queryHi Friends,
i tried the following syntax for adding an extra field in the drop downs: {html_select_date prefix='birth' day_empty="Please Select" month_empty='Please Select' year_empty='Please Select' field_order='DMY' end_year='-100' } But, the extra value is not getting added at the top of the drop down as expected. Can someone please tell me where I am going wrong. Thanks Gags
|
| Free embeddable forum powered by Nabble | Forum Help |