Drupal Webform Customization I'm using drupal 7, and I'm having a lot of trouble using the webforms.

I have a set of radio buttons, but each radio button needs to have an associated input field with it.

Code example:

&lt;input type="radio" name="derp" /&gt; option 1 : option 1 quantity desired: &lt;input type="number" /&gt;


Note that this would span multiple rows, and is just to show the "layout" I am trying to achieve.

How can I add a "set" of input elements to a webforms radio select field?

Optional to answer but extra question: when I try to inject javascript into the webform using the markup option, my code is simply printed out onto the screen instead of being interpreted. Anybody know why?
You'll have to create your own webform component to ensure that validation and saving work as you intend. Look at an exisiting webform component to see how its done.