Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Say I have created a really simple custom list via Sharepoint Designer, and then created a custom NewForm.aspx called NewFormTest.aspx to go with it. Now I have to add a field to the custom list. I understand that a custom list does not get updated automatically when a new field is created in the underlying list.

So,how in the world do I get that new field to show up in my custom list?

I know if I update the custom list and create a new NewFormTest form, that it would populate, but then I would have to go and reformat my whole list!

I can't see any way to just drag the field from "Current Data Source" in the "Data Source Details" panel. What good is that panel? I'm sure I am missing something.

I've read this thread, but didn't see what I was looking for.

share|improve this question
    
Like BGM, I'm also missing "Insert as List Form Field" in the Context menu. Do you already have an answer on this issue? –  user14818 Feb 10 '13 at 19:53
    
Give me a couple days to see what I did (I can't remember), as I will have to revisit my problem... –  BGM Feb 11 '13 at 2:40
    
Same problem here. No options to "Insert as List Form Field". I've seen similar threads across the internet asking the same quesiton yet none have an answer as to how to get the one option we actually want to make Designer useful for editing forms - "Insert as List Form Field". –  user18059 Jul 4 '13 at 10:50
add comment

3 Answers 3

Please follow the steps given below

  • Open the form you need to edit in SharePoint Designer ”split view”.
  • Place your cursor on and highlight the row of data below (or above) where you want to add the new field.
  • Right click on the highlighted row and select Insert – Row Above (or Row Below depending on your situation). A new empty row will be added to the form.

enter image description here

  • Highlight one of the existing field titles on your form and copy it into the first column in the new row you just created. Change the title to the title you would like to use for your new field.
  • Highlight your new field title and look in the code view and verify that all of the formatting tags were also copied. Often, you will need to copy the actual code for the title from the existing to the new title to ensure the look and feel stays the same.
  • Click in the second column of the new row.
  • Open the Data Source Library and open the List or Library that corresponds with the form you are modifying. Click the list or Library and select Show Data. The Data Source Details window will open and scroll to the field you would like to insert.
  • Select the field you want to insert right-click and select Insert as List Form Field.

enter image description here

  • Insert a Field into a SharePoint Designer List Form Field
  • The field will be added. Save your form and test in the browser.

Source: Internet

share|improve this answer
1  
Okay, I have read pages like this, and I get stuck at Insert as List Form Field because it isn't in that context menu. I can "Insert as Text", as "Hyperlink", as XPath, as "Hyperlink to New Form" - and other things, just like in your picture, but never is there any "Insert as List Form Field". –  BGM Aug 14 '12 at 20:19
    
Do you have any ideas? –  BGM Aug 21 '12 at 18:59
add comment

The easiest way to accomplish this is

  1. Copy and paste a field that has the same characteristics (i.e. multi-line, dropdown, radio button) into the spot for the new field.

  2. In the code it will assign it an out of order ID (id="FormField1"). If you click the arrow on the top right of the field, click on the dropdown (Data Field) and find the name of the new field added.

  3. Then go into the code and find the id="FormField1") area and change it to the number after the last field's id (id="ff48{$Pos}"). You can find the last field by clicking on the last field and seeing that it is ff48 in the code.
  4. Change the new field ID to id="ff49{$Pos}" in the code. You will also need to change the field reference in the same line of code 'u',concat('ff49',$Pos) to match the same number.

Save and you are complete.

share|improve this answer
add comment

The most simple way I have found to do this is from within Sharepoint Designer (2010 in my case) in the ribbon.

  1. Open the desired form
  2. Click on one of the existing form fields to get the ribbon in the correct context
  3. Your ribbon should have an "add/remove columns" - click it to open the dialog window select your column
  4. Add your column and move it up or down as desired - yes, it's that easy! enter image description here
share|improve this answer
add comment

Your Answer

 
discard

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.