Re: How to manage date fields in template



Valeria wrote:

Hi, in my website I've a template file with date/time fields



<dt><label for="field_date_from">Sart
Date</label></dt>
<dd id="data_date_from">
<select
class="select"
id="field_date_from" name="date_from_month">
<option
value="">-</option>

{dropdownlist:date_months,""}
</select>
<select
class="select"
name="date_from_day">
<option
value="">-</option>

{dropdownlist:date_days,""}
</select>
<select
class="select"
name="date_from_year">
<option
value="">-</option>

{dropdownlist:date_years,""}
</select>
</dd>


Is it possible automatically select day month year of today?

Thanks

That depends on the template and the options you have using it. What is
this for?
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
.



Relevant Pages

  • Re: GFTP: Can I set a default directory to open into?
    ... don't see the option for "remember last directory" in gFTP either. ... Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers ... -- Web Hosting With Muscle! ...
    (comp.os.linux.misc)
  • Re: Arrays instead of files into hashes
    ... Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers ... terminology extraction for linguistic purposes. ... little script and the output is an array which I can display in a file ...
    (comp.lang.perl.misc)
  • Re: Need help on AoH or array or any other think that might help!
    ... of foreach), but it will run. ... understand the issue now that you've seen the code this was in response ... Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers ...
    (comp.lang.perl.misc)
  • Re: Newbie php problem
    ... Please forget the first part of the script, as I do put some extra ... accepting input, ... Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers ...
    (alt.php)
  • Re: Date/Time module
    ... possible the calculations don't lend themselves to a super efficient ... but I'm betting they do. ... Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers ...
    (comp.lang.perl.misc)