Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

MOSS 2007 and Redirecting a Custom Form

  Asked By: Bhavika    Date: Jun 09    Category: MOSS    Views: 1297

Can this been done using SharePoint Designer so that when a user
clicks "Ok"
there are redirected to a confirmation page instead of all items? If
so,
please provide example code or a link to a resource that explains how
this
can be done.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Cassie Snyder     Answered On: Jun 09

I believe the following article will do just that.

http://www.graphicalwonder.com/?p=666

The basic idea is that you add an extra querystring parameter called
"source" when you link to the form, and specify the redirect page.

 
Answer #2    Answered By: Parijat Pathak     Answered On: Jun 09

I have already seen that article and it
makes no sense, the "Ok" button doesn't have an href perameter to add
a "source" to. See below.....

<td class="ms-toolbar" nowrap="nowrap">
<SharePoint:SaveButton runat="server" ControlMode="New"
id="savebutton2"/>
</td>

And adding a plain old HTML input button doesn't work either, that
article doesn't give near enough details on how-to get a redirect
working or am I missing something?

 
Answer #3    Answered By: Ella Sargent     Answered On: Jun 09

I haven't tried it so I can't say for sure, but it looks pretty
straightforward. When you link to the form, you simply add the source
parameter in the URL and the form  knows that when you're finished with it,
you should be taken to the page indicated in the querystring. For example,
the CKS User Group signup sample that Shane mentioned is just a link that
takes you to the following URL:

sharepoint.microsoft.com/.../NewForm.aspx?Sou\
rce=/sharepoint/cks/uge/Shared%20Resources/ThankYou.aspx

This would take you to the NewForm.aspx page and dictate that after you
submit it, you should be taken to the ThankYou.aspx page. Does that make it
more clear?

 
Didn't find what you were looking for? Find more on MOSS 2007 and Redirecting a Custom Form Or get search suggestion and latest updates.




Tagged: