I'd like to use this module to assign an auto-increment number for each submission, and I want to get the submitter informed of that number for future communications. Right now I'm trying to include a token for that in both the confirmation page and email template but neither of the following formats seem work:

%serial
%value[serial]

I'm not sure if the webform serial module supports a token to be used that way, or that's just a format issue.

Thanks

CommentFileSizeAuthor
#2 2013-03-30_13h23_24.png10.38 KBadrianmak

Comments

liam morland’s picture

Title: token support » Token support

It should be %value[field_key]. That is working for me. Replace "field_key" with the field key of your serial number component.

adrianmak’s picture

StatusFileSize
new10.38 KB

I tried as said put %value[field_key] in another field value, that field will populate the value of serial component. But it didn't work

liam morland’s picture

Tokens are for use in places like the email templates. The user can't enter them when completing a form.

liam morland’s picture

Title: Token support » Using tokens
Project: Webform Serial » Webform
Version: 7.x-1.x-dev » 7.x-3.18
Status: Active » Postponed (maintainer needs more info)

This question is not really about Webform Serial, but about using the tokens provided by Webform.

If this answers your question, please close. Otherwise, please provide details.

DrupalDan’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

sorry, I've been away for a while. Thank you.