For prepopulating lists i did not unserstand correctly:

An example for prepopulating lits would be:

<div class="webform-component-select" id="webform-component-liste">
<div class="form-item" id="edit-submitted-liste-wrapper">
<label for="edit-submitted-liste">LISTE: <span class="form-required" title="This field is required.">*</span></label>
<select name="submitted[liste]" class="form-select required" id="edit-submitted-liste" >
<option value="">select...</option>
<option value="1" selected="selected"> dername</option>
<option value="2"> noch ein name</option>
</select>

To prepopulate a list you need to look for the content of the name attribute. In this example it says name="submitted[liste]"
Url example: http://localhost/drupal_testumgebung/node/51?edit[submitted][liste]=1
As you see you need to use [submitted][liste], NOT submitted[liste]. After the "=" you need to put the content of "value" of the option object, to select it.

I think this might be useful. Thank you

Comments

1800collect’s picture

I second adding this as you pointing this out saved me a lot of time! Thank you!

stephenhlane’s picture

Version: » 7.x-2.x-dev
Issue summary: View changes

Thanks. this helped me get the URL layout I was looking for.

Katy Jockelson’s picture

Thanks @marcoka - this made it really clear.