Use of Radio Buttons

Translate this pagebookmark or share this page
Murugavel's picture

Posted: 2012-06-20
521 views | 1 comments | category: ARIS MashZone

0
show all articles

Can i design something like the above using Radio Buttons.

Date range has 

1)all

2)Last 1 month

3)Last 1 week

4)Last 1 day

5)Last 1 Hour

Time Frame as specified by user....

 

The thing is that at any instance the control should be either in Date range or Time frame. How to achieve this..

 

for eg) if user selects date range as last 1 month then automatically the Time frame should show values .(from date- 1 month from current date ; to date - current date)

            if user selects Time frame then the drop down list should show some value say Custom(we can add this as 6th option in drop down list)

 

 

Is this scenario possible???

 

Ultimately I have to filter the table based on either Date range or Time Frame and not both...

Comments
Murugavel's picture

All I need is a scenario like a Radio Button. Please reply ..