Copied to clipboard

Flag this post as spam?

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


  • ASad 5 posts 73 karma points
    Dec 11, 2017 @ 14:04
    ASad
    0

    passing value to umbraco form and setting the fields rendring through macro

    I want to set the form fields like name and email from data though url query string . I have rendered the form through macro . how i can do that

    @Umbraco.RenderMacro("renderUmbracoForm", new {FormGuid="ccebfbe8-aa28-497e-8078-c3577c88f47a", FormTheme="" ,
      ExcludeScripts="0"} )
    

    my form fields are name , email , eventname I want to fill eventName from url query param like http://localhost:17402/register?eventId=1342&eventName=you%20cant%20save%20the%20world%20alone

Please Sign in or register to post replies

Write your reply to:

Draft