Using the Umbraco RegisterModel, how do I save custom properties from an input field?
Here's what I have done so far:
I created a Register Member macro using the relevant Umbraco snippet. I then added the macro to a page and saved. This registration macro works well right off the bat, even with custom properties. Here's the view logic that achieves this:
Save Input Fields for Custom Member Properties
Using the Umbraco RegisterModel, how do I save custom properties from an input field?
Here's what I have done so far:
I created a Register Member macro using the relevant Umbraco snippet. I then added the macro to a page and saved. This registration macro works well right off the bat, even with custom properties. Here's the view logic that achieves this:
I have two problems with this:
I figured it would be easy to solve this by simply removing the loop and adding the fields manually using the following code:
This code rendered the custom property field, firstName, just fine, but when I submit the form the property is never saved.
Can anyone tell me why? Is there a better method I should be using to have more control over my custom member properties when registering a member?
is working on a reply...