I've installed classextender-2.0.0-pl to MODX Revolution (2.3.3), in order to add some custom fields to the User profile records.
However, my 'new user' Registration form is not saving the custom fields from the web context. The user registration form IS saved and accepted, and the user is created, only without the custom fields.
I defined some new custom fields in 'MyExtUserSchema', and now these functions are working, and custom field data is being saved:
1) From Manager: create/edit user (with custom fields)
2) From web context: user can update EXISTING Profile (with custom fields)
Here's a snippet from the [[$lgnRegisterForm]] chunk, with custom fields addeded:
[[!ExtUserUpdateProfile]]
[[!Register?
&submitVar=`loginRegisterBtn`
&activationResourceId=`52`
&activationEmailTpl=`lgnActivateEmailTplCustom`
&activationEmailSubject=`Thanks for Registering!`
&submittedResourceId=`51`
&usergroups=`Registered Users`
&validate=`nospam:blank,
username:required:minLength=^6^,
password:required:minLength=^6^,
password_confirm:password_confirm=^password^,
fullname:required,
email:required:email`
&placeholderPrefix=`reg.`
&useExtended=`0`
]]
<p>
<label for="username">[[%register.username? &namespace=`login` &topic=`register`]]</label>
<input type="text" name="username" value="[[!+reg.username]]" />
<span class="validateError">[[!+reg.error.username]]</span>
</p>
<p>
<label for="firstName">First Name</label>
<input type="text" name="firstName" value="[[!+reg.firstName]]" />
<span class="validateError">[[!+reg.error.firstName]]</span>
<p>
[...]
<input type="submit" name="loginRegisterBtn" class="btn-CSS" value="Register" />
I'd greatly appreciate any tips as to what to fix so that the custom fields also save!
Thanks in advance.