SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a view from a list which I created. I now have an edit button link on this view and need to link it to a custom edit form. How can I do this in SharePoint Designer. I am using Sharepoint 2010.

share|improve this question

Using JavaScript/jQuery you can do the following:

1) Change the href of your Edit Link. Append a custom query string parameter at the end of the link. Example:


2) In the EditForm.aspx, add a script which checks whether the custom query string parameter is present in the window.location.href.

3) If the parameter is present, hide the fields which are not needed in the Custom Edit Form.

if(window.location.href.indexOf("OpenCustomEditForm=1") != -1){
      //Hide unnecessary fields.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.