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.
-
1here 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.– Allen HutchisonCommented May 13, 2016 at 17:19
-
Perhaps amend to say that this only works for authenticated users.– KarinG - Semper ITCommented May 13, 2016 at 23:28
2 Answers
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
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.
-
Sounds great,thank you; we are more in need of "human validation" tool though.– yurgCommented 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.– yurgCommented 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.– yurgCommented May 13, 2016 at 16:26