custom renderers

Custom Renderer to Change Checkbox/Multi-Select Choice

Resource Type: 
OSP Form

This is a simple OSP form with a custom renderer that changes the way that OSP chooses whether to display checkboxes or a multi-select box. It would also change the same choice between radio button and a single select box. By default, checkboxes and radio buttons are used when there are fewer than 5 items in an enumeration. (The choice between checkboxes and radio buttons depends on whether there can be more than one selection. For example, maxOccurs=1 gives radio buttons for fewer than 5 items, but a single select list for more than 5 items.)

Syndicate content