Radio Buttons

Article author
Duncan Hamra
  • Updated

This article will show you how to store the data from a group of radio buttons inside Memberstack.  Radio buttons let a member select only one of a limited number of choices.

Screen_Shot_2022-09-23_at_9.55.52_AM.jpg

1. Add a group of radio buttons to your site. 

Set up your radio button fields exactly as you would for any other form. In the images below (or in the video) you'll notice that each radio button has the same group name and a unique value. 

 

2. Add a single custom field to Memberstack.

Add a custom field for each group of radio buttons. 

 

3. Add the same attribute to every <input> in the group.

Screen_Shot_2022-09-23_at_9.56.39_AM.jpgScreen_Shot_2022-09-23_at_9.56.49_AM.jpg

Save it, and you're ready to test! Memberstack will record the value of the selected radio button and save that to the member's profile.

If a member checks a radio option and reloads the page, Memberstack will remember and automatically "check" that same radio button.

 

 

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.