i'm used webform & webform default fields to create a general form on my content type and this content type conatains url file (default hidden) and i want to show url file after a user submit the for. any solution for this ?

Comments

quicksketch’s picture

Status: Active » Fixed

If you use Webform 4.x, you can display token values in your confirmation message. Combined with an auto-URL filter (on by default for most text formats in Drupal), you can use this to display a link in the confirmation message. In the confirmation message, you would place a token matching the value you want to display, i.e.

[submission:values:hidden_url]

Though apparently this functionality is not currently working, as reported in #2149463: Setting hidden field to [node:field_email] or [current-page:field_email] - neither work. When that is corrected, this should be possible if you upgrade to the 4.x version of the module. Tokens are not supported in the confirmation message in the 3.x version of the module.

alfarider’s picture

Thanks :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.