Page 1 of 1

Select All Radio Button

Posted: Mon Aug 12, 2013 9:29 pm
by Chris Whitfield

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?


Select All Radio Button

Posted: Mon Aug 12, 2013 9:42 pm
by maxkatz

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.


Select All Radio Button

Posted: Mon Aug 12, 2013 11:08 pm
by Chris Whitfield

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


Select All Radio Button

Posted: Tue Aug 13, 2013 2:36 am
by maxkatz

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