Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I am trying to use "Special Tokens" in the webform module (6.x-3.18) on Drupal6. I'd like the data to populate a hidden field I've created with the email field on the same form.

Under default value for the hidden field I've tried using a number of different values including:

%post[submitted][email]
%post[email]
%post[submitted[email]]

None of this works. If I go edit the email field, it tells me my key is "email". If I look at the name of the email field in the source code it's "submitted[email]".

If anyone has any suggestions on what I'm doing wrong?

Cheers, Michael

share|improve this question

1 Answer

In case anyone comes across this, I finally found a thread confirming that Webform tokens in D6 do not support arrays, and I had to apply a patch for the functionality to work.

This is NOT a problem in D7

http://drupal.org/node/824606

Patch - http://drupal.org/files/nested_tokens-824606-13.patch

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.