sharepoint 2010 foundation inserting multiple new items from predetermined list -


i trying add multiple new items existing sharepoint list. new items based on set of item codes, user put quantity against each received, click insert , item quantity added end of list.

i have thought new item form, using sharepoint 2010 foundation infopath not available. instead use second list items in it, use workflow add each line quantity first list, problem supplier need typed once, not each line on second list tidy.

is possible looking at? have no experience sharepoint services.

thanks in advance

you can use javascript want achieve.

to deal sharepoint web services can use sharepointplus lib or popular spservices.

however you'll need have javascript skills reach goal. code (using sharepointplus):

<input type="text" id="itemcode" placeholder="item code"> <input type="text" id="quantity" placeholder="quantity"> <input type="button" value="add" id="buttonadd"> <script> $('#buttonadd').on('click', function(event) {   event.preventdefault();   $sp().list("your listname quantities").add({     title:$('#itemcode').val(),     quantity:$('#quantity').val()   }, {     error:function(items) {       if (items.length>0) alert("there errors !")     },     success:function(items) {       if (items.length===1) alert("done!")     }   }); }) </script> 

if list want add new item called "your listname quantities" 2 columns: "title" item code, , "quantity" quantity.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -