Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the D7 version of the module, I could allow anonymous users to see their webform submission and we would redirect the user to it after filling out a form so they could review what they submitted. I was hoping this could be added back into the 8.x-5.x version.
Comment | File | Size | Author |
---|---|---|---|
#7 | enclose_html_tag_and_correct_label-2863425-7.patch | 924 bytes | pmagunia |
| |||
#6 | enclose_html_tag-2863425-6.patch | 884 bytes | pmagunia |
| |||
#2 | Screen Shot 2017-03-23 at 3.31.42 PM.png | 169.9 KB | jrockowitz |
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThere is the ability to update an existing submission using a tokenized URL. I think this feature can be extended to support viewing a submission.
I also need to explore how Webform 7.x-4.x is allowing anonymous submissions to be viewed.
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedSo Webform 7.x tracks anonymous submission sid in $_SESSION and uses this information to display previous submissions. In #2838423: Drafts for anonymous users I thought using a secure token was safer solution but now I am second guessing this decision.
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedAfter I commit #2838423: Drafts for anonymous users, which contains some of the needed business logic. I will start planning out how to implement anonymous 'view own submission' access.
Comment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedFixed! Please download the latest dev release to review.
Comment #6
pmaguniaThanks for this awesome module!
The 'View own submission' for anonymous users works in my install. You have to make sure the new permissions are set at People -> Permissions in addition to the permissions on the particular webform.
Just a minor note: on the permissions, the HTML EM tag was malformed. Attaching patch for review.
Comment #7
pmaguniaAlso, just found that one of the permissions description was inaccurate. Adding updated patch.
Comment #9
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThanks for the patch.