From: gags007 <gag...@ho...> - 2007-03-23 12:53:26
|
Hi 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 gags007 wrote: > > thanks Sylvie that helps. > > >>From: Sylvie Greverend <sgr...@gm...> >>Reply-To: sgr...@gm...,Tiki users mailing list >><tik...@li...> >>To: Tiki users mailing list <tik...@li...> >>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 >>Tik...@li... >>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 > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > > -- View this message in context: http://www.nabble.com/%7Bhtml_select_date%7D-related-query-tf3403052.html#a9634075 Sent from the TikiWiki - User mailing list archive at Nabble.com. |