Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion How to use start_year and end_year on a date column
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Lance Ivy  
View profile  
 More options Apr 16 2007, 2:30 pm
From: "Lance Ivy" <la...@cainlevy.net>
Date: Mon, 16 Apr 2007 11:30:28 -0700
Local: Mon, Apr 16 2007 2:30 pm
Subject: Re: How to use start_year and end_year on a date column

Hi Ger,

Your best bet here is probably to override the column on the form and
customize it exactly how you want it. Check out
http://activescaffold.com/docs/form-overrides.

On 4/15/07, Vorik <goo...@gerapeldoorn.nl> wrote:

> Hi all,

> I'm trying to insert a record containing a birthdate with
> activescaffold. However, the year-dropdown box is only showing years
> starting from 2002. This means that people over 5 years old cannot use
> the application which, unfortunately, does not meet the functional
> requirements. (Would save lots of difficult questions though!)

> How can I set the starting year? With standard rails it is set like
> this:

> date_select :geboortedatum, :order =>
> [:day, :month, :year], :start_year => 1970, :end_year => 2000

> The funny thing is that in 'edit mode', the years start at 1969 but in
> 'new' mode it starts at 2002.

> Thanks in advance,
> Ger Apeldoorn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.