Developer forum

Forum » CMS - Standard features » Extranet Module Templates DW v 9.7.7

Extranet Module Templates DW v 9.7.7

Kevin O'Driscoll
Reply

Using the Extranet Module users profile edit form (Edit_Profile.cshtml) if we allow the logged-in User to update their zip code we do this:

<input type="text" name="UserManagement_Form_Zip" id="UserManagement_Form_Zip" value="@GetString("UserManagement:User.Zip")" placeholder="Enter your PostCode" />

So to update a custom field why does this not work?

<input type="text" id="UserManagement_Form_CustomFields.AccessUser_InterestOptions" name="UserManagement_Form_CustomFields.AccessUser_InterestOptions" value="@GetString("UserManagement:User.CustomFields.AccessUser_InterestOptions")" />

I dont see any documentation about updating/creating custom fields' values in Extranet Module Templates.

Can anyone shed some light or a pointer?

Rgds Kevin

 


Replies

 
Kevin O'Driscoll
Reply

Because you should be doing this:

<input type="text" id="CustomField.AccessUser_AccessUser_InterestOptions" name="CustomField.AccessUser_AccessUser_InterestOptions" value="@GetString("UserManagement:User.CustomFields.AccessUser_InterestOptions")" />

Rgds Kevin

 
Nicolai Pedersen
Reply

Good find - thanks for sharing!

 

You must be logged in to post in the forum