You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Problems with creating contact using Contact Model

Accepted answer
14
Views
3
Comments
edited Apr 26, 2018 6:05PM in Customer Portal 3 comments

Content

Hey all,

I've been bashing my big dumb head against this Model for a day now and I'm only getting dumber.

Creating a contact with just the Email, using the Contact Model creates an empty contact for me. I don't seem to formate the object in the correctly. Does anyone have experience here?

Thanks,
Simon

 

 

Version

CP 3.6

Code Snippet

             $contactData["Contact.Emails"] = "[email protected];
$this->model('Contact')->create($contactData) 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!