Hi thanks for taking the time to read this, I have searched but not found and answer to what I am looking for.

I am trying to use the drupal web form to take over the first step of a multistep form that has all ready been created in php. I have configured it to do everything I need however for it to succeed its naming needs to be correct and at the moment the old form will pick up ..

name="submitted"

However webform is adding in the extra [surname] ie..

name="submitted[surname]"

Is their anyway I can override this?

Thx.

Comments

BigEd’s picture

hmmm reading this back i think I need to clarify.

from..

name="submitted[surname]"

I need

name="surname"

quicksketch’s picture

Status: Active » Closed (fixed)

Webform is not intended to be used for custom purposes like it sounds like you're describing. If you need to control the "name" attributes of the form, then you should be writing a custom module, not using Webform to create your forms. You cannot remove the word "submitted" from name attributes in a Webform without breaking a lot of other things.