CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Create Contact Form and store as new contact
Pages: [1]

Author Topic: Create Contact Form and store as new contact  (Read 1967 times)

caneswin

  • Guest
Create Contact Form and store as new contact
January 01, 2010, 09:51:45 am
I've looked around the forums for an answer to this, but this feature is eluding me.  I need to create a custom contact form that website visitors submit on their own and the data be stored as a new individual contact.  I am already using the custom profile feature for registering users but the contact form would not require user registration and would capture separate fields.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Create Contact Form and store as new contact
January 01, 2010, 09:16:31 pm

you can use profiles to create new contacts. Check the wiki docs and/or the CiviCRM book for more details

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

caneswin

  • Guest
Re: Create Contact Form and store as new contact
February 21, 2010, 03:10:53 pm
Quote from: Donald Lobo on January 01, 2010, 09:16:31 pm

you can use profiles to create new contacts. Check the wiki docs and/or the CiviCRM book for more details

lobo

We are already using the profile system.  What I'm speaking of would be a storing the visitors information who may use the contact form to send us a message.  Maybe open permissions so that any user can Create a New contact of type 'xxxxx'.  After the user fills in the info, an email would be triggered to a list of users.  Sound doable?

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Create Contact Form and store as new contact
February 22, 2010, 03:25:20 am
Quote
We are already using the profile system.  What I'm speaking of would be a storing the visitors information who may use the contact form to send us a message.  Maybe open permissions so that any user can Create a New contact of type 'xxxxx'.  After the user fills in the info, an email would be triggered to a list of users.  Sound doable?
yes.

you might want to check "Notify when profile form is submitted?" setting for your profile. here you can give comma separated multiple email addresses, so after submitting profile form, system will send email to those email addresses.

go to 'Administer CiviCRM' -> CiviCRM Profile -> click on 'Settings' action link for your profile -> click on 'Advanced Settings'  -> check for  'Notify when profile form is submitted?' and give email address here.

hope this help

kiran
You Are Designed To Choose... Defined By Choice.

marlutin

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
Re: Create Contact Form and store as new contact
June 06, 2010, 02:33:26 pm
Using the same setup (CiviCRM Profile and custom fields, with notify to some@admin) for redirecting a pseudo Drupal contact form into Civicrm, I wonder how to setup a checkbox "Send a copy of this message to myself" from the Contact form, the same way Drupal offers ?
So the sender of the contact form will get a copy of his message in his own mailbox?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Create Contact Form and store as new contact
June 06, 2010, 04:35:22 pm

that feature is not present in CiviCRM. You will need to implement it via a buildForm and postProcess hook and customize the template as needed

http://wiki.civicrm.org/confluence/display/CRMDOC/Customizing+CiviCRM+Screens
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Create Contact Form and store as new contact

This forum was archived on 2017-11-26.