More in this section

Forums / Developing with Sitefinity / Adding a form to a template?

Adding a form to a template?

2 posts, 0 answered
  1. Nick
    Nick avatar
    15 posts
    30 Oct 2013
    05 Dec 2013
    Link to this post
    Hi there,

    I'd like to add a small login form to the top of my Sitefinity site that will send a POST to a separate site to login there.  This would normally be done using HTML similar to this:

    <form method="post" action="">
        <input type="text" name="username">
        <input type="password" name="password">
        <input type="submit" value="Login">

    Now, when I put this HTML into a Sitefinity template, obviously it doesn't work in Hybrid mode because WebForms puts a "form" tag around the whole page.  What's the quickest and easiest way to accomplish this?
  2. Bonny
    Bonny avatar
    58 posts
    11 Nov 2016
    06 Dec 2013
    Link to this post

    You can always use the "PostBackUrl" property in an submit button to force your form to post to an external location. Is this an option for you?

    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered