1

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?

6
  • 1
    if 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
  • 1
    That 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 SG
    May 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 SG
    May 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? May 16 at 9:29

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.