how to setvalue for additional joomla user field?

samani

Member
hi.
i have some additional fields in joomla for user.
i use fabrik form for my joomla registration, how can i use juser form plugin to set value for my joomla additional field?infact i want map some fabrik fields with some joomla user field.
is it need use php plugin and this function?
 
Response time in standard support is 3 working days.

You can't do it with the juser plugin, you'd have to use a PHP form plugin, running onAfterProcess, which does it by hand, by getting the values from your form and updating the #__users table with your own query. The form data will be in the $formModel->formDataWithTableName array, including the user ID (the juser plugin will update the element you specified in the plugin settings with the newly created ID).

And no, not that function.

-- hugh
 
Nope, those are nothing to do with Fabrik.

I'm looking at integrating some of the JForms stuff in 4.0.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top