creating custom contact form
urrestieta - February 22, 2008 - 17:56
hi
how should I go about creating a custom contact form? I have been searching the forums but I could not find much specifically on this. I need to create two contact forms that have custom fields, like :
name:
address:
ph:
subscribe me to mailing list:
message:
send/clear
and so on...
I know I could use CCK to add custom fields to a normal node but I dont know much on programing contact forms so I would not know how to make this work. I as wondering if there is some module I could use to do this easily.
thanks!
enrike

I used CCK fields to create
I used CCK fields to create all the fields I wanted and used the CCK Email module to create the e-mail field. When creating the e-mail field it gives you a choice of how to display the e-mail link (i.e. via mailto: or a contact form). Just choose to display it as a contact form and it's ready to go. No programming necessary.
There is also a contact form feature built into Drupal and a contact form module, but they did not do what I needed.
not sure i understand
sorry i am not sure i understand...
I downloaded CCK email module and activated it. Then I created a new content type called "Contact Form", added few fields I needed and an email field with "Email Link Type: Contact form" option.
But I need to create a custom contact form so that visitors can send request information to the owner of the website. A Contact Form like the built in with Drupal but with more fields and a check box. As far as I understand this is not the same I get if I follow your tip, unless I am missing something.
thanks
webform module is what
webform module is what you're looking for, you can make any kind of input forms with it. (I still use drupal 5 because I don't like missing out on modules that haven't been upgraded yet, I just realized that webform isn't available for Drupal 6 yet so I'm not sure what to do if thats what you're using)