Link to home
Start Free TrialLog in
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.
Avatar of aspehar
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.
Avatar of 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 :)
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?
ASKER CERTIFIED SOLUTION
Avatar of geoffsweb
geoffsweb

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial