How to create an array of fields in the form?
Hello, Is it possible to create an array of fields in the form? I have moss 2007. For example, I have a form column "type equipment" another column called "quantity. " I want the user can enter the type option and specify the amount of equipment that he can add another item again and select a quantity of equipment. Thank you Yuval .C.
December 29th, 2010 5:52am

Create "Equipment" and "Quantity" cokumns with "Choice (menu to choose from)" option, and fill names of Equipments and Quantity when you create those columns.(Pre defined values). After creating a new item user can also edit value from the columnRegards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/
Free Windows Admin Tool Kit Click here and download it now
December 29th, 2010 6:41am

Thanks for the quick reply, this is the basis for creating a form. I want the user can add these columns by his need. For example, one user can add these columns and uses five and other user 20.
December 29th, 2010 6:51am

My initial thoughts would be 1. A main list with form to enter the data. This should have type equipment as choice column with values. 2. Create a list with three columns Type equipment - Lookup to the man list quantity - single line text or whatever ID - ID of the item in the main list. You can use ID field. Now you need to customize the Newform.aspx and override the OK button to open a custom page with dataview webpart for List2. The dataview webpart can show you the add new item form on the page itself and will give your users an option to add as many equipment - quantities as they want. Dont forget to send the ID in the querysting for auto population. I did something similar to that some time back. Where i created a wizard think with forms from various lists. Isha kapoor My SharePoint Blog Follow me
Free Windows Admin Tool Kit Click here and download it now
December 29th, 2010 4:55pm

Hi, For your scenario, I think you can create multiple content types for the list, then user can select the content type they want when creating new item. In the content types, you can specify different columns you want. Hope it helps.Xue-Mei Chang
December 31st, 2010 1:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics