fieldset | R Documentation |
Use fieldset
to associate and label inputs. This is good for screen readers
and other assistive technologies.
fieldset(..., legend = NULL)
... |
Any number of inputs to group or named arguments passed as HTML attributes to the parent element. |
legend |
A character string specifying the fieldset's legend. |
Other layout functions:
column()
,
navbar()
,
webpage()
### Grouping related inputs fieldset( legend = "Pizza order", formGroup( "What toppings would you like?", div( checkbarInput( id = "toppings", choices = c( "Cheese", "Black olives", "Mushrooms" ) ) ) ), formGroup( "Is this for delivery?", checkboxInput( id = "deliver", choice = "Deliver" ) ), buttonInput( .style %>% background("primary"), id = "order", label = "Place order" ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.