php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -
i built site using drupal 6 allows users submit information site owner in 3 different ways. are:
webform a: quick contact - collects name, email, phone , message.
webform b: free pdf book email webform - collects info similar above, , sends user email pdf attachment book written site owner.
node create: case evaluation - form node creation page using multi-step module, cck , lot of conditional fields. anonymous users can fill out form , node data emailed site owner based on rule created.
all 3 of these forms work in terms of doing supposed site. webform submissions accessed webform node owner, , set table view manage node submissions.
even though forms gathering different data, @ end of day, important data personal contact information (each 1 collects name, email and/or phone), , each form submission (from of forms) considered lead owner , followed on.
i centralize these various form submissions (2 webforms + 1 node) 1 content type (leads) managed 1 page, rather three, , owner doesn't have reference/compare submissions 2 other forms when working data 1 prevent double-contacting potential clients if filled out 2 forms on site.
is there obvious solution scenario implemented using combination of existing modules , rules. or, solution @ least not stray far drupal practices?
i'm not convinced desire consolidate 1 content type. should use 1 content type when forms similar in structure , purpose. webform a, webform b , case evaluation seem satisfying totally different needs. not candidates consolidation.
another alternative force people register (i.e. become logged in users) before access webforms , cck forms. using user profile (bundled drupal core) module can collect standard data when people register need collect anyway 3 forms. consolidate leads data in 1 place. registration procedure can made unobtrusive , simple.
i recommend use webforms in general. user friendly , excellent making questionnaires , contact forms. use cck content types more fundamental aspects of sites article content types , need views integration.
there useful module called http://drupal.org/project/inline_registration . allows register before create node. guess doesn't work webform (unfortunately) please check.
another option feel might might viable have user fill out 2 forms. 1 quick webform captures basic details , other webform/node create specific work request pdf etc. way lead data gets captured 1 webform can excel file exports.
before signing off -- point occurred me...assume have 3 webforms (case evaluation turned webform). make sure initial data consists of standard fields name, email address etc. 3 excel sheets (one each webform). easy take first 3 or 4 columns interested each sheet leads data , combine data in 1 "leads" excel sheet. quick , dirty method save lot of effort , mind "good enough" solution.
Comments
Post a Comment