2

I was asked to add to existing Drupal 6 page second contact form.
What I mean by second:
On the site there is site wide contact form that's available at www.site.com/contact but what I need to add is a second contact form but with some custom fields.

I only need 2 fields: name and suggestion.
Also I would like to have custom message after form submit.

So the user navigates to page www.site.com/contact/question. User enters name and suggestion, then clicks submit and user will redirected to page showing thank you message, this can be at the same address, not necessary a redirect. On server site I just need to send form content to specific email address. No tables, reports, simple email.

It would be nice not to install any additional modules, but if they are really necessary then that's fine.

Site is bit old and I am afraid that installing new modules will create issue.

There is a module called webforms, but can I achieve my goal without additional modules?

  • You can achieve this easily with webforms. Else you need to write your own code in already existing modules or where ever contact form is written. – GoodSp33d Oct 5 '12 at 13:39
2

I think that you need to install the Webform module:

http://drupal.org/project/webform

There might be ways to do this with the Rules module, but I think for overall simplicity, Webform is the way to go.

I'm pretty sure that the version for Drupal 6 allows a custom message to be displayed to the user. In fact, if memory serves, it also has the option to redirect to a particular page.

  • Thanks for suggestion. I know that I can do custom form with webforms, but I wanted to avoid it. On the other hand writing a custom module for every form I will need is a bad idea. So probably I'll stick with webform :) – Misiu Oct 5 '12 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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