0

I have created a custom newform.aspx using the copy of the existing Sharepoint 2010 list form using SP Designer tool.Now i want to make this mynewcustomform.aspx as the default form when the user clicks on the new item in my SPList.How to achieve this ?

2
  • Open SP Designer
  • In left side, click on "List and Libraries" in Site objects pane.
  • All lists and libraries will open in right pane.
  • Single click the desired list name.
  • In extreme right side you can see a Forms Pane with list of all forms(Default and your custom forms).
  • Select(single click) you custom form.
  • In highlighted ribbon you can see a option "Set as Default". Click it, and your custom form is set to default.
  • how to create a completely new custom form with custom html controls , sp client picker values etc in a sp 2013 list form – SaMolPP Jun 12 '18 at 17:35
2

You will have a Set as Default button visible in the ribbon if you select the form. Go to Lists and Libraries -> Choose List -> In the forms section, choose your form -> Click on Set as Default in the top ribbon.

1

In SP designer when you open settings of the list where you have on right side forms part. When you click button New.. Choose NewForm and than check checkbox that says set as default.

1

Open your site in SharePoint Designer and navigate to your list. In the Forms section, select your custom newform.aspx page and in the Ribbon click Set as Default.

  • 1
    After adding the changes when I went back to the list and clicked the new item, its still navigating to the old newform.aspx.Its not pointing to my newcustomform.aspx which I made as a default newform.aspx.Any idea why this is happening? I saved my page and checked-in also. – SaMolPP Oct 6 '15 at 13:51
0

If you want this to be set up automatically. You can create a custom list definition and change the Form-Node e.g.:

<List>
...
  <MetaData>
    <Forms>
     <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
     <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
     <Form Type="NewForm" Url="NewForm.aspx" SetupPath="features\$SharePoint.Feature.DeploymentPath$\mynewcustomform.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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