Page 1 of 1

Radio button selection storing

Posted: Thu Feb 12, 2015 1:06 am
by Sunita

How can I store the user selection of a radio button?

The radio button is currently being populated from a database list service. I would like to store the '_id' from the database of the user selection from the list of options in a local storage variable.

Here is what I have so far:

Populating the radio component list items from the database list service:

Image

This works fine, by which i mean that it populates the list on my page.

I tried doing this, but it does not work:

Image

Please help, and i am bound to post praise for you guys!


Radio button selection storing

Posted: Thu Feb 12, 2015 9:46 am
by Maryna Brodina

Hello!

Let me know if this post helps https://getsatisfaction.com/apperyio/...


Radio button selection storing

Posted: Thu Feb 12, 2015 11:54 am
by Sunita

Hi Maryna!

That was the post that i was following to do what I have done above, but it does not seem to work for me.

Could you maybe list out a few steps on how to go about it?


Radio button selection storing

Posted: Thu Feb 12, 2015 1:10 pm
by Maryna Brodina

Please clarify are there any errors in console?


Radio button selection storing

Posted: Thu Feb 12, 2015 1:51 pm
by Sunita

Hi Maryna,

I got it sorted. Thank you so much!


Radio button selection storing

Posted: Thu Feb 12, 2015 2:35 pm
by Maryna Brodina

Thanks for update!


Re: Radio button selection storing

Posted: Sun Mar 21, 2021 11:24 pm
by dphoeck@gmail.com

I am having trouble mapping the selected radio button to a local storage value. How should I be mapping this?


Re: Radio button selection storing

Posted: Wed Mar 24, 2021 8:17 am
by Serhii Kulibaba

Hello,

Could you please provide us with the screenshot of that mapping to understand what is going wrong there?


Re: Radio button selection storing

Posted: Tue Mar 30, 2021 5:42 am
by dphoeck@gmail.com

Hi Serhii, I have since figured out the mapping. Thank you!