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.

3
  • 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
    Commented May 12, 2016 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. Commented May 13, 2016 at 17:19
  • Perhaps amend to say that this only works for authenticated users. Commented May 13, 2016 at 23:28

2 Answers 2

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

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.

7
  • Sounds great,thank you; we are more in need of "human validation" tool though.
    – yurg
    Commented May 12, 2016 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? Commented May 12, 2016 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 :-) Commented May 12, 2016 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
    Commented May 13, 2016 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
    Commented May 13, 2016 at 16:26

Your Answer

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

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