I have written the code to generate the result set from a SQL call to a hierarchical table which then uses a dynamically loaded constants-based language file to translate the "codename" for the sections/sub-sections. I have then written a routine which checks when the Section changes and wraps that group in an optgroup element. All simple stuff.
However, I want to be able to include this custom INPUT element as part of a FormHandler form. Is there any way that this can be done like adding it as Custom HTML.
On a successful form result the form values are loaded into a Transfer object and passed in the Business tier, so these Forms don't need write to a database or anything.
DOH! Your right of course, sorry about that. I was in full-on "try first, RTFM later" mode. I will try to alter the array to fit your format
After some play it is also possible to genererate the field as raw HTML and include it using AddHTML(). Then using POST to return the value in your onCorrect event handler.