function flexbuttons(maxradio, groupname, number, indname, indexselected, onprocess) |
/* Output a group of single selection radio or select buttons */ |
/* maxradio defines strategy -- if more than maxradio items use a select field, if smaller than this use radio buttons */ |
/* User responsible for <form> </form> container and any formatting */ |
/* onprocess is textstring of "onclick/change" function" */ |
/* number is number of buttons with name indname[1...number] */ |
/* groupname is name of group */ |
/* indexselected running from 1 to number is initial selection */ |