Problem/Motivation

Our site uses a custom "Contact Us" page implemented with webform so that user submissions could be persisted, and so we could email a link to the site admins. We send a link rather than the entire user-supplied message because many are spam (despite several anti-spam measures), which causes ISPs to flag our messages as spam and sometimes block them altogether.

While looking through the tokens, I came across this incomprehensible description:

Source URL [webform_submission:source-url] The URL the user submitted the webform submission.

Steps to reproduce

  1. Navigate to /admin/structure/webform
  2. Locate an existing webform on the page and select "Settings" from the drop-down menu on the right side of the table
  3. Click on the Emails / Handlers link
  4. Edit an existing handler or create a new one
  5. In the right-hand admin panel, under Message and Body, select "Custom body..." from the drop-down menu
  6. Click on the "Browse available tokens" link below the WYSIWYG editing window
  7. In the Tokens modal, click on Webform submissions and scroll down to "Source URL"
  8. Observe the description: The URL the user submitted the webform submission

Proposed resolution

Replace the message with something that a) is valid English syntax, and b) actually describes what the token is for.

Remaining tasks

N/A

User interface changes

See above.

API changes

N/A

Data model changes

N/A

Comments

djmolny created an issue. See original summary.

  • 7e30c605 committed on 6.1.x
    Issue #3353138: Incomprehensible token description
    

  • 7e30c605 committed on 6.x
    Issue #3353138: Incomprehensible token description
    

  • 7e30c605 committed on 6.2.x
    Issue #3353138: Incomprehensible token description
    
jrockowitz’s picture

Status: Active » Fixed

Changing to "The URL where the user submitted the webform submission."

@djmolny Thank you fore reporting this issue. In the future, instead of using negative words like "Incomprehensible token description," you might try to make a more positive suggestion like "Improve token description" or "Clarify token description."

Status: Fixed » Closed (fixed)

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