Radio Group Element - #radio_group {}

The radio group element automatically groups it's radio button members into the same radio button group by applying the same HTML name to each radio contained within.

Note: As of Nitrogen 2.4, this will do a "deep dive" in the body elements.


   #radiogroup { id=fruit, body= [
      #radio { text="Apple", value="apple", checked=true },
      #radio { text="Orange", value="orange" },
      #radio { text="Banana", value="banana" }


  • body (string) - The contents of the radio group. #radio elements contained within will be found and have the HTML name attributes set appropriately.

See Also

View Source or Submit Corrections for this Documentation Page
Copyright © 2008-2024 Nitrogen Web Framework. Released under the MIT License.