Help for this page

Select Code to Download


  1. or download this
       has_field 'start_date' => ( type => 'DateTime' );
       has_field 'start_date.month' => ( type => 'Integer', range_start =>
    + 1,
    ...
           range_end => 2020 );
    
  2. or download this
    <div><fieldset class="start_date"><legend>Start date</legend>
    <div><label class="label" for="start_date.month">Month: </label><input
    + type="text" name="start_date.month" id="start_date.month" size="8" v
    +alue="7" /></div>
    ...
    
    <div><label class="label" for="start_date.year">Year: </label><input t
    +ype="text" name="start_date.year" id="start_date.year" size="8" value
    +="2006" /></div>
    </fieldset></div>