cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict in drop down based on another drop down?

Former Member
0 Kudos

Hi All,

I have a requirement where, in a table columns i want drop downs ex: year(list like 2010, 2009...), another drop down like Month(Jan, Feb... Dec ), if user select 2010 in year drop down i want to display jan .. june(6 months) in month drop down, if user select other than 2010, i want to display jan-Dec(12 months). is it possible?? How can we achieve this?? Help Please...

Thanks,

kriss.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I think your requirement is like you need the months in the second drop down based on your selection of year in 1st drop down.

You need to write the on select method on first drop-down and set the values respectively in second.

Thanks

Pradeep

Former Member
0 Kudos

you need to write a method for onSelect of the first dropdown to populate the values in the second dropdown

Thanks

Bala Duvvuri