Webform rules - delete duplicate webform

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
KoshaK's picture

Never use rules before and a bit lost there... here is what I'm trying to do. It may sounds a bit strange, but...

Drupal 7

I have two Webforms. let call it form1 and form2. Webform Rules module installed.

form1 is located on front page with two fields [name] and [email] .

form2 is a big form.

when submitting form1 the data transferred to form2, so the form2 has the [name] and [email] pre-filled. Data from form1 saved.... now, when user submits form2 we will have two different submissions from form1 and from form2 with the same [name] and [email]

How to make the Rule to delete the submission from form1 if there is the same data [name] and [email] was submitted from form2 ?

the reason behind this - I want to have submissions from front page on form1 saved straight away, in case user will to stop filling the form2. so i will have his email anyway for marketing purposes, and will be able to contact him to ask to complete the form, but if he has completed the form then I don't want to see his submission results on form1

Hope I have made it clear...

Regards, Kos

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: