Radio button selection storing

This forum contains topics that were moved from Get Satisfaction
Sunita
Posts: 0
Joined: Sat Nov 15, 2014 2:40 pm

Radio button selection storing

Post 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!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Radio button selection storing

Post by Maryna Brodina »

Hello!

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

Sunita
Posts: 0
Joined: Sat Nov 15, 2014 2:40 pm

Radio button selection storing

Post 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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Radio button selection storing

Post by Maryna Brodina »

Please clarify are there any errors in console?

Sunita
Posts: 0
Joined: Sat Nov 15, 2014 2:40 pm

Radio button selection storing

Post by Sunita »

Hi Maryna,

I got it sorted. Thank you so much!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Radio button selection storing

Post by Maryna Brodina »

Thanks for update!

dphoeck@gmail.com
Posts: 11
Joined: Sun Mar 21, 2021 11:21 pm

Re: Radio button selection storing

Post by dphoeck@gmail.com »

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

Serhii Kulibaba
Posts: 145
Joined: Tue Aug 27, 2013 1:47 pm

Re: Radio button selection storing

Post by Serhii Kulibaba »

Hello,

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

dphoeck@gmail.com
Posts: 11
Joined: Sun Mar 21, 2021 11:21 pm

Re: Radio button selection storing

Post by dphoeck@gmail.com »

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

Post Reply