Is it possible to either prevent a second submission of a webform with the same cid (the users aren't logged in but are using links with cid and checksum) or to warn the user that they have already submitted the webform?
-
1if you have the contact ID or checksum fields on the form (hidden) as a component then webform should allow you to set that component as unique - that may require webform_validation if d7– petednz - fuzion ♦May 11 at 19:24
-
1That does work, but it isn't great from a user perspective, as it doesn't say anything until after you try to submit the form and the error message is pretty cryptic. Ideally, there would be a way to warn users as soon as they load the page.– Lars SGMay 11 at 19:47
-
I expect some JS might be the solution– petednz - fuzion ♦May 12 at 20:26
-
I might look at adding something to Webform CiviCRM, as we can't be the only ones that run into this and it shouldn't be too complex.– Lars SGMay 12 at 21:19
-
There is a setting for 'Per user submission limit' and if set to '1 - ever' does usually show 'You have already submitted this form.' when loaded - or at least that what it does if logged in so might do the same if validated via checksum?– RebeccaTregennaMay 16 at 9:29