Join our community!

Get everything you need to start developing EPiServer solutions.

A form, visitor fills it out and it gets written to the page

April 27 2012, 10:00

Hi all!

A bit of a newbie question here I guess =/


I have a form, like this

<!-- form -->
<asp:TextBox ID="Name" TextMode="SingleLine" Columns="50" Rows="1" runat="server"></asp:TextBox>
<asp:DropDownList ID="MyDropDownList" runat="server">
                    <asp:ListItem Text="ListOption01" Value="ListOption01"></asp:ListItem>
                    <asp:ListItem Text="ListOption02" Value="ListOption02"></asp:ListItem>
</asp:DropDownList>
<asp:RadioButtonList ID="MyRadioButtonGroup" runat="server">
                    <asp:ListItem Text="RadioOption01" Value="RadioOption01"></asp:ListItem>
                    <asp:ListItem Text="RadioOption02" Value="RadioOption02"></asp:ListItem>
</asp:RadioButtonList>
<asp:Button ID="SendForm" Text="SendIt" runat="server" />
<!-- /form -->


When a visitor fills out the form and clicks the send button I want the values to be written to the page, bellow the form.

In the front end code, bellow the form, do I need a repeater of some kind? I guess this involves backend code also? Is it difficult? =)


  • April 27 2012, 16:26

    So, it is that difficult ... =/

    I have looked at some code we have from developers, for something similar. It seems that a new page is created for every comment. Is it neccesary?

  • April 29 2012, 11:52

    I solved it. =)

    Have a nice day