<![CDATA[ ClassExtender - My Forums]]> https://forums.modx.com/thread/?thread=103707 <![CDATA[ClassExtender]]> https://forums.modx.com/thread/103707/classextender#dis-post-557840 ClassExtender 2.1.0
Login 1.9.5

I'm using several extended fields with UpdateProfile,
[[!UpdateProfile?
	&validate=`fullName:required,lastName:required,member:required,email:required:email`
	&excludeExtended=`email:required:email,login-updprof-btn`
	&useExtended=`1`
]]

I also ran Extend modUser so all the extended fields are represented in the Manager User Profile page. So far so good.

Updating the profile from the front-end seems to be working fine (so far) with all the extended fields. Everything gets written/updated to the db and Manager page. The two exceptions are the default "website" and "username" fields.

I added the "website" and "username" fields to the profile form,
<label for="username">Username [[+error.username]]</label>
<input type="text" name="username" id="username" value="[[+username]]">

<label for="website">Website [[+error.website]]</label>
<input type="text" name="website" id="website" value="[[+website]]">

with the placeholders:
Username: [[+username]]

Website: [[+website]]

The problem is both fields revert back to their previous value on save.

Because these are default user fields (i.e. not extended) I assumed it didn't need to be included in Extend modUser.]]>
todd.b Apr 07, 2018, 06:52 AM https://forums.modx.com/thread/103707/classextender#dis-post-557840
<![CDATA[Re: ClassExtender]]> https://forums.modx.com/thread/103707/classextender#dis-post-557866
In other words, ClassExtender is for adding and handling additional fields, not fields that already exist.]]>
BobRay Apr 09, 2018, 07:51 PM https://forums.modx.com/thread/103707/classextender#dis-post-557866