1
i'm a little confused by grouping XoopsForm elements. what i need to do (if possible) is have a form that works like so:
- Start XoopsFormTray
-- XoopsFormRadio 1 ('A name', 'W value')
-- XoopsFormRadio 2 ('A name', 'X value')
--- XoopsFormText
-- XoopsFormRadio 3 ('A name', 'Y value')
--- XoopsFormText
--- XoopsFormCheckbox 1 ('B name', 'B value')
--- XoopsFormCheckbox 2 ('C name', 'C value')
--- XoopsFormCheckbox 3 ('D name', 'D value')
--- XoopsFormCheckbox 4 ('E name', 'E value')
--- XoopsFormCheckbox 5 ('F name', 'F value')
--- XoopsFormCheckbox 6 ('G name', 'G value')
--- XoopsFormCheckbox 7 ('H name', 'H value')
-- XoopsFormRadio 4 ('A name', 'Z value')
--- XoopsFormText
- End XoopsFormTray
if that makes sense. the radios all need to have the same name, but each has a different value. only one radio at a time can be checked. the checkboxes all have different names, and the names are the same as the values. any number of checkboxes can be checked at the same time, but they are null if its parent radio isn't checked. same for the textboxes.
i haven't used the xoopsform library before, so go easy on me ;)
is this even possible, or do i need to hardcode it myself?
this form will be for selecting recurring event types in my calendar module. if that helps. the radios are for the recurring type (recur by day, month, year), the textboxes are for the recurring frequency (recur every 1, 2, 3, 4 days, months, years), and the checkboxes are for the days of the week (recur on sun, mon, tue, etc).
any insight would be greatly appreciated.