2

is it possible to create new contacts using remote html forms?

we have three different websites related to different activities of the organization.

we would like to create adding contact forms on each of these websites and have the form perform data-entry to a single civicrm running on a separate wordpress installation.

Is it possible? How?

1
  • we have just installed civicrm for the first time, and would appreciate any help, even it may be obvious. cheers!! Commented Jun 18, 2016 at 17:11

4 Answers 4

5

Yes. CiviCRM provides an "html snippet" for every profile form you create. Simply copy and paste this into your remote website and form submissions will be saved back to your CiviCRM database.

For more information see http://docs.civicrm.org/user/en/stable/organising-your-data/profiles/#standalone-forms-with-profiles

4

Speaking generally, yes, you can use CiviCRM's REST API to do things remotely. In your case, that includes creating contacts.

For further reference, see the wiki article on Using the API.

2

For anyone using Drupal and need more nuanced or complex forms then you can also use Webform-civicrm and embed in an iframe. Generally that requires having a drupal 'blank' theme so you just get the form and nothing else. So extra work, but provides extra benefits that webform-civicrm does so nicely.

2
  • Question says they are using WordPress, so not an option for this site. Commented Jun 20, 2016 at 4:28
  • ah yes in the tags. tweaked to make this a general answer for others who might be attracted by the title.
    – petednz - fuzion
    Commented Jun 20, 2016 at 5:00
1

I would recommend looking at the inlay extension and inlayfp. You can create forms using CiviCRM and embed in any website supporting a script tag.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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