I've got a user registeration page that uses Umbraco forms. The results are stored in the Member node. But in "My Account" page I want the same form but with the details already populated so they can update their address or whatever. How do I do this using Umbraco forms in Umbraco 7.
I´m not sure but I dont think there is a built in way of getting this functionallity in Umbraco Forms.
Maybe you could do this using jquery? By sending an ajax post (with the current member id as a parameter) to a SurfaceController, then use the MemberService to get the member based on that id and send the result back as JSON, and then populate the input fields with the correct information. (matching on input id´s for instance).
Does this sounds like a possible soultion? Let me know if there is any of the above terms that you dont know or if you need a code example.
Umbraco forms question
Hi,
I've got a user registeration page that uses Umbraco forms. The results are stored in the Member node. But in "My Account" page I want the same form but with the details already populated so they can update their address or whatever. How do I do this using Umbraco forms in Umbraco 7.
Thanks for your help
I´m not sure but I dont think there is a built in way of getting this functionallity in Umbraco Forms.
Maybe you could do this using jquery? By sending an ajax post (with the current member id as a parameter) to a SurfaceController, then use the MemberService to get the member based on that id and send the result back as JSON, and then populate the input fields with the correct information. (matching on input id´s for instance).
Does this sounds like a possible soultion? Let me know if there is any of the above terms that you dont know or if you need a code example.
Best of luck to you!
is working on a reply...