Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sunnysideup/silverstripe-salesfor…
Browse files Browse the repository at this point in the history
…cepartner
  • Loading branch information
thiemen committed Aug 13, 2019
2 parents 94e166a + f0187a1 commit 68accb0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/en/INDEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ You should set up dataobjects / pages with the following methods:

public function setDefaultFieldsForSalesforce()
{
// Send info to Salesforce if the user has opted in
MySalesforceContactConfigApi::add_fields_to_send_on_creation(
$this->SalesforceDefaultCreateContactFields()
);
Expand All @@ -74,7 +73,7 @@ You should set up dataobjects / pages with the following methods:

```

set up controller with the following form:
set up controller with the following form (you will have to make your own Form, as you see see fit):

```php

Expand All @@ -92,7 +91,7 @@ set up controller with the following form:
}
```

In the `MySalesforceForm` form, add the following:
In the `MySalesforceForm` form, add the following (this will be called on "saving" / "actioning" you form (saving the results of the form):

```php

Expand Down

0 comments on commit 68accb0

Please sign in to comment.