Hi,

I want to create custom webforms where:-
1. Data validation for different data types- text, numbers, emails,
2. Where the data can be downloaded for each individual form submission in pdf format, instead of the default excel format. I want
each individual submission emailed as a pdf, and also can be downloaded as a pdf.
3. The submitted data can be evaluted manually according to a given criteria, and then the results posted online

How can I achieve this?

Comments

mtndan’s picture

Hi, it's all possible...

1. Webform already provides server-side validation for various form widgets, like number, email, etc... Any additional validation could be added via some jquery or a custom module that plays with the forms api

2. You'd need to build a custom module for this. I'd suggest first installing either the print module (http://drupal.org/project/print), get pdf generation setup, then in your custom module calling the function to generate the pdf as well as the download link (override the webform results display to add this) and the email trigger.

3. Again, custom module...query the webform results, do your evaluations, then post to some new url.

Some great resource for learning to build custom modules:

http://drupal.org/developing/modules
http://www.packtpub.com/drupal-6-module-development/book
http://store.lullabot.com/products/drupal-module-development

WorldFallz’s picture

Haven't tried it yet, but there's also: http://drupal.org/project/webform2pdf.