Pages

Thursday, March 12, 2015

How to order fields in SharePoint custom list's NewForm.aspx page

Ordering fields in SharePoint custom list’s NewForm.aspx page


We have seen that lots of time we need to change the order in which some fields appear on the new list item form (i.e. NewForm.aspx) for any of the SharePoint custom lists. Regardless of the ordering in the view you have selected or created, the fields always seem to appear in the order they were created while creating a custom list on the new item form.

So question comes, how to reorder them?

Well, one way is to create altogether a new form using SharePoint designer and then reorder the column as it will have data view web part.

The other solution which doesn't require SharePoint designer is through content type. To order the columns without using SharePoint designer or creating a new form, follow below steps:

-    Go to the list

-    Go to list settings (from the ribbon in 2013 and 2010, from the drop downs in 2007)

-    Click Advanced settings

-    Ensure ‘allow management of content types’ is checked

-    Go back to the list settings

-    In the list of content types associated with the list, click the one you want to change the order of fields for (in lists that have been created ad hoc this is usually item or document).

-    In the bottom of the screen a link appears called ‘Column order’

-    Click on 'Column order' and then you can order your fields accordingly

-    Once done, click 'OK' button and now create new item and you will see your fields are ordered accordingly

No comments:

Post a Comment