Is it possible to add multiple fields within a single component? $form['value'] = array(
        '#type' =&gt; 'textfield',
        '#title' =&gt; t('Webservice URL'),
        '#default_value' =&gt; $component['value'],
        '#description' =&gt; t('The default value of the field.'),
        '#size' =&gt; 60,
        '#maxlength' =&gt; 1024,
        '#weight' =&gt; 0,
    );


I want to make a second textfield in my component where I can specify the second part of my Webservice URL and then concatenate them in my rendering. How can I add a second textfield to my webform_edit?
For one of my projects I spend almost whole week trying to find similar functionality it turns out that you cannot render the input of two fields as one entry from webform result due to the fact that webform creates separate database entry for every field. I solve my problem by just creating multiple fields value_1 value_2 and so on and when exporting result concatenate them in Excell (stupid I know :-) and does not work for your case) . There is module Webform Add More but it only use the same aproach but hides the extra fields and shows them when needed. If you are willing to switch from webform you can try EntityForms this way you can use regular Drupal fields to get entered values and embedding Entityforms on Nodes using Entity Reference