You should be able to set the field default value to {member.loginname}, {member.id}, {member.email} or other customer properties using {member.yourcustomalias}, is this where you are trying to put it? Are you logged in when you get the null reference error?
Use member data in forms
Hi all,
I want to use member name and other custom member properties from the currentloggedin member to prefill forms.
I tryed {member.Name} but I got a null reference error in the InsertUmbracoForm partial view macro.
Can I access this data via the bracket notation or is there a way to make this info accessible to forms?
Thanks
Hi Frans,
You should be able to set the field default value to {member.loginname}, {member.id}, {member.email} or other customer properties using {member.yourcustomalias}, is this where you are trying to put it? Are you logged in when you get the null reference error?
Kerri
Hi Kerri,
Thanks for your reply. I thought It would work like that but it somehow doesn't...
I get the following error:
Hi Frans,
You have hit into this issue http://issues.umbraco.org/issue/CON-841, and it is fixed in the next version of Umbraco Forms 4.3.3.
If you can´t wait until the Umbraco Forms 4.3.3 is released then you can download the latest nightly build here.
http://nightlies.s1.umbraco.io/?container=umbraco-forms-nightlies
/Dennis
Hi Dennis,
Is there a estimated releasedate?
Frans
Hi Frans,
I know that we are working very hard to get the new Umbraco Forms 4.3.3 out soon, but I can´t give you a specific release date.
/Dennis
is working on a reply...