Creating a Form with a redirect to another Page Options
chunkylover
Posted: Thursday, August 03, 2006 4:34:35 PM
Rank: Newbie

Joined: 8/3/2006
Posts: 1
Hy!

I'm quite new to umbraco and i'm testing a few of different things for my new Website...

Now I want to build a small Contact-Form and I have one problem: I'm placing 2 textboxes and 1 submit-button into my Page and now i want simply show a "Thank you" site when the user sends the Form.

When you add a button into the page you can define the mailadress and the "Redirect"-Page.

My Problem is that this redirect doesn't seems to work... I receive the Mail with the right content, but the redirect doesn't work.

Can someone help me?

Is there something i forgot to set?

Thank you!
hoehler
Posted: Friday, August 04, 2006 8:39:07 AM

Rank: Addict

Joined: 7/19/2006
Posts: 597
Location: Bad Homburg, Germany
I guess that you have implemented a .net ascx.

Solution 1: Don't redirect to another page. Set the textboxes and the button unvisible (or better the pane where they are placed on) and show another pane with "Thank you".

Solution 2: use a real redirect (Response.Redirect(URL))

By the way: the target where the post goes is defined in the form-tag, not in the submit-button. So the simple submitbutton only does a Post-Back.

hth, Thomas

• 2007/2008 MVP • www.thoehler.com • Bad Homburg, Germany
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.