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.

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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