In your view you would have something like this:
<input type="radio" id="radio1" name="radio1" value="1" />1
<input type="radio" id="radio1" name="radio1" value="2" />2
<input type="radio" id="radio1" name="radio1" value="3" />3
<input type="radio" id="radio1" name="radio1" value="4" />4
<input type="radio" id="radio1" name="radio1" value="5" />5
And then in your controller you would get the value for radio1 like this:
Choice = Req:post_param("radio1"),
error_logger:info_msg("Choice was [1..5]: ~p~n",[Choice]),
At this point in time you can persist the information.
—Kai