Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John French 32 posts 83 karma points
    Nov 23, 2016 @ 09:11
    John French
    0

    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

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    Nov 23, 2016 @ 09:38
    Dennis Adolfi
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft