Today I ran in to an oddity with Sharepoint 2007. Since the upgrade, users said the flow of creating a new entry for one of our lists wasn't very easy as everything was in a different order. I went into the List Settings and updated the "column ordering" to match what they wanted. However, this didn't update the order of fields when the users clicked on "new entry". Isn't this how it worked in Sharepoint 2003? I couldn't find an easy way to control the field order on NewForm.aspx so I started searching for how to customize it. This took me to Jan Tielson's blog post which was a reference to Kristian Kalsing's great blog post. This was exactly what I needed but I did hit a few parts that stumped me for a bit so I thought I'd post essentially the same steps with just a few warnings and extra details.
<WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"> <ZoneTemplate> </ZoneTemplate> </WebPartPages:WebPartZone>
<WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"> <ZoneTemplate>
That's it. I found it's easier to me to change the view to "Code" and make my changes via HTML rather than the designer. It's always stopping to update real-time and that left me waiting a lot. You'll see that now it's really easy to cut and paste to reorder table rows. After testing out your new form, if you want to make this the new default then...
That should do it. Now when someone clicks on 'New Entry' it'll use your new custom form. This of course is the same process to update the Edit and Display forms as well. Thanks to Jan and Kristian for their blogs to get me going. Hopefully this will help someone else if you're stuck. Since all I wanted to do was change the order of the fields on a "New Entry", I'm not sure why all this was necessary and there's probably some easy way in the "settings" somewhere but until I find it...I hope this helps.
Nice post! zee http://walisystems.com
Click here to cancel reply.
Remember my details
Notify me of followup comments via e-mail