Chris Whitfield
Posts: 0
Joined: Fri Jul 26, 2013 5:31 am

Select All Radio Button

I have a radio button that stores a local storage variable when clicked. When the user selects submit, it queries the appery database.

What would be the best way to create a radio button that represents "all the values in a column. Basically, i want a radio button that represents "select all" vs "Specifying a value"...

is there anything special i need to do in the JavaScript for the where parameter?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Select All Radio Button

Just another radio button item, give it a special value that would represent "all". If you want to check all items in the UI, then you need to use a check box. Radio button allows you to select only one item.

Chris Whitfield
Posts: 0
Joined: Fri Jul 26, 2013 5:31 am

Select All Radio Button

Thanks for the reply. I guess its not clear to me how i would set a local storage variable that represents all the values in a column..

Thanks for your help

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Select All Radio Button

It can be any string value you want. For example: "all_values".

Return to “Issues”