Trying to get a handle on using the API. and ui_radio_selector specifically. I want to have 3 radio buttons. When one radio button is selected the corresponding block of html code appears. I have a good understanding of perl and html forms but not sure of how to set up the array for what this is asking? An example would be great.
ui_radio_selector(&opts, name, selected)
Returns HTML for a set of radio buttons, each of which shows a different block of HTML when selected. The parameters are :
opts - An array ref to arrays containing
name - HTML name for the radio buttons
selected - Value for the initially selected button.
Not sure of the exact syntax - an example would be great. Tried to find something in my existing webmin folder but no luck….