Avatar of geoffsweb
geoffsweb
 asked on

Sharepoint List/Form Button Redirect

Hi, I am using Sharpeoint MOSS 2007.

I have a list/form that I want to change where the OK and Cancel button go to when they are clicked when the user submits the form or is cancelling out of the form.  I don't need the redirect to attach any ID's or anything, I just need it to redirect the user back to a basic web page (a main menu page) on the Sharepoint site.  I have Sharepoint Designer and have the NewForm.aspx loaded up, but the form does not allow me to click on the OK and Cancel button to see it's properties and get to the redirect property.  When I click on anything, the whole form is highlighted, instead of allowing me to click on the individual buttons.

Thanks in advance.
Microsoft SharePoint

Avatar of undefined
Last Comment
geoffsweb

8/22/2022 - Mon
aspehar

You'll need to create a custom list form, then it should allow you to define the redirect URL in the button properties.  See here for more info on creating a custom list form:
http://office.microsoft.com/en-us/sharepointdesigner/HA101191111033.aspx
If it is a list, you can also just create a new aspx, insert a custom list form and apply your master page.
geoffsweb

ASKER
OK, I have created custom list forms before.... I was just hoping that I didn't have to do that and could modify the original.... but I guess then once you modify the original, it's custom :)
geoffsweb

ASKER
I created a custom form for my list, no problems.  I changed the RedirectURL in the properties for the OK button, but nothing happened, still redirected to the AllItems.aspx page.  Ay suggestions?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
geoffsweb

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.