XF 2.0 How to set custom field value in extend class method.

logixsol

Member
I have created a custom field in registration form, When someone register that value shows on user profile. That okay.

Now, Question is, I want to add the value of another custom field, dynamically When user try to register.
I have extend the Pub/Register method actionRegister() and get the parent response,

Now how to set the value and custom field name, show the value show In that already created field ?
I have tried $parent->setParam['custom_fields']['field_name'] = "testing";

The value of that field not stored in user profile.

@Chris D
 
Top Bottom