• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Update CB fields of user with RSForm doesn't work

Update CB fields of user with RSForm doesn't work 6 years 4 days ago #39075

Hi,

I have Joomla 3.8.11 and RSFORM 2.0.14.

I want to update CB fields of lgged in user.

The main fields I tried to update are some checboxes:
prntscr.com/ngprlm

THe checkbox field from RSFORM has exactly smae values thant checkbox fields from CB.


prntscr.com/ngpsc6

prntscr.com/ngptfh

I tried this method:
www.rsjoomla.com/support/documentation/r...mmunity-builder.html

And this method:
www.rsjoomla.com/blog/view/314-rsformpro...er-and-mappings.html


BIt it doesn"t work.
Here is the code I added in php option "Script called on form process"

$db = JFactory::getDBO();

$user = JFactory::getUser();
$db->setQuery("UPDATE nfojm_comprofiler SET cb_skills = '".$db->escape($_POST)."' WHERE user_id = '".$db->escape($user->id)."'");

$db->query();


Does anyone know what I am doing wrong?
Last Edit: 6 years 4 days ago by admin1732.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!