Hi,
I'm banging my head against a wall with this.
I have a CF5 Form (EditUser), which has been called from a CC5 Connection (UserList).
The Connection has multiple data models, including User (pulling from the _users) table and UserInfo (pulling from the Community Builder _comprofiler) table.
The data passes correctly to the form, and it is displayed in the proper fields and can be edited.
On submit, I use a ConnectionAction back to my CC5 Connection to save the data.
However, it only saves the fields that are from the primary data model (User), not from the secondary data model (UserInfo). The debugging info looks good - all the data is in the array correctly.
I have hidden fields on my CF5 form which store the primary keys for both data models.
In the CC5 connection, I have the "Associative save" for the UserInfo model set to "Yes".
What am I missing?
I'm banging my head against a wall with this.
I have a CF5 Form (EditUser), which has been called from a CC5 Connection (UserList).
The Connection has multiple data models, including User (pulling from the _users) table and UserInfo (pulling from the Community Builder _comprofiler) table.
The data passes correctly to the form, and it is displayed in the proper fields and can be edited.
On submit, I use a ConnectionAction back to my CC5 Connection to save the data.
However, it only saves the fields that are from the primary data model (User), not from the secondary data model (UserInfo). The debugging info looks good - all the data is in the array correctly.
I have hidden fields on my CF5 form which store the primary keys for both data models.
In the CC5 connection, I have the "Associative save" for the UserInfo model set to "Yes".
What am I missing?
Array
(
[cont] => lists
[ccname] => UserList
[act] => edit
[gcb] => 623
[chronoform] => EditUser
[event] => submit
[Users] => Array
(
[id] => 623
[name] => Bryna
[username] => verena
[email] => verena@gmail.com
)
[UserInfo] => Array
(
[id] => 623
[cb_sca_name] => Verena
[cb_member_number] => 12345
[cb_kingdom] => Middle
[cb_region_id] => 3
)
[button8] => Submit
[Region] => Array
(
[id] => 3
[name] => Constellation
)
)