4

We've a Webform which picks and updates existing contact's data. Is it possible to add a "check data" step somehow after webform submission has been made but before actual contact record change? There seems to be no corresponded event-condition-action chain in Rules/Webform Rules/CiviRules.

  • 1
    here is another dart in the dark (nice phrase). look at giving users only the option to create Draft webform submissions (maybe just hide 'submit' via js) - then you take over and do the actual Submission. – petednz - fuzion May 12 '16 at 21:23
  • Pete I was just trying to think of something similar to this and you nailed it. You should post this as an answer. – Allen Hutchison May 13 '16 at 17:19
  • Perhaps amend to say that this only works for authenticated users. – KarinG - Semper IT May 13 '16 at 23:28
3

Suggest you look at giving users only the option to create Draft webform submissions (maybe just hide 'submit' via js) - then you take over and do the actual Submission

| improve this answer | |
2

Webform validation module can run a number of checks on specific fields on your webform - https://www.drupal.org/project/webform_validation

If you're worried about SPAM submissions install Mollom: https://www.drupal.org/project/mollom - and configure it to monitor your webform submissions.

| improve this answer | |
  • Sounds great,thank you; we are more in need of "human validation" tool though. – yurg May 12 '16 at 15:59
  • As in, you're trying to make sure the webform submission was made by a human (and not a bot), or you need a human to check the data before Civi is updated? – Allen Hutchison May 12 '16 at 16:08
  • Hey yurg - please be more/very specific as to what you meant when you wrote "check data" - or we're just throwing darts in the dark :-) – KarinG - Semper IT May 12 '16 at 18:40
  • @Allen Hutchison The latter I guess: default data consistency checks are fine, it's more about content check group of "moderators" performs on "decent users" submission. – yurg May 13 '16 at 16:14
  • @ KarinG You're absolutely right, sorry; have just thought about this for a while, so it is clear for me only.. It's a content checks, hence, "human touch" is needed. – yurg May 13 '16 at 16:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.