Would like to build a WebPart which will display an HTML form(allow the users to add the data rows as many as required) and will insert the data into the SharePoint list on the submit (based on http://feedbackWP.codeplex.com)

enter image description here

Add Row should bring another row as

enter image description here

On Submit, I should be able to fetch all the values and update the corresponding SharePoint 2010 List.

What would be the best way to achieving this? Can I use something like Grid or should I build my own HTML components and take care of the repeating?

Note: Field value of Code should be brought from the another List.

  • Adding a row is quite easy in InfoPath forms, if you have an option.. use InfoPath.. Also you can have multiple data sources so it won't be an issue – Arsalan Adam Khatri May 5 '14 at 18:16
  • Infopath multiple rows get added as a single row to the list (stored in xml), so not useful in this situation. – Aboba May 5 '14 at 18:28
  • Infopath has been deprecated. Here – Sam Sussman May 5 '14 at 18:31
  • Just because it is deprecated doesn't mean its unusable for the forseeable future. XML based web services are deprecated but still usable in 2013. Expect InfoPath to be around for about 10 more years. – Eric Alexander May 5 '14 at 19:48
  • does it mean that we may built the Infopath form which may submit multiple list entries at once? At least in this case, does not it save the info as .xml file as multiple list entries are expected? – Karthikeyan May 5 '14 at 20:17

I would use Knockout JS to bind your inputs and jQuery to submit/create SPList items.

here is an example of knockout dynamic row binding:


Personally i try to stay away from SPServices and rather use OOB JavaScript api's.

Infopath is almost dead, i wouldn't invest my time creating forms etc with it.

| improve this answer | |

Your best bet to do this is to code something in JQuery using SPServices to call the client side object model. Jquery can easily add the repeating functionality to the form and each "row" can be submitted to the list individually using SPServices calls.

| improve this answer | |

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.