SharePoint passing value of text box on click to update list column

%3CLINGO-SUB%20id%3D%22lingo-sub-1084268%22%20slang%3D%22en-US%22%3ESharePoint%20passing%20value%20of%20text%20box%20on%20click%20to%20update%20list%20column%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1084268%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI%20am%20new%20to%20SharePoint%20and%20have%20a%20task%20to%20complete.%20I%20have%20a%20text%20box%20on%20one%20SP%20page.%20Upon%20click%20of%20the%20submit%20button%2C%20I%20need%20the%20numerical%20value%2Finput%20to%20be%20sent%20to%20a%20column%20in%20a%20list%20and%20update%20it.%20Seems%20like%20something%20so%20simple%2C%20but%20I%20can't%20figure%20out%20the%20coding%20to%20pass%20the%20value%20to%20the%20list%20column.%20For%20the%20button%2C%20I%20have%20the%20following%20code%20so%20far%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3CINPUT%20id%3D%22userInput%22%20type%3D%22textbox%22%20name%3D%22overallgrading%22%20%2F%3E%3CINPUT%20type%3D%22button%22%20id%3D%22overallgrading%22%20value%3D%22Submit%22%20%2F%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWhere%20overallgrading%20is%20the%20name%20of%20the%20column%20in%20the%20list%20that%20I%20need%20to%20write%20to.%20I%20think%20there%20needs%20to%20be%20some%20sort%20of%20update%20function%20to%20save%2Fpass%20the%20value%2C%20as%20there%20is%20a%20preset%20value%20of%200%20in%20the%20column.%20I%20appreciate%20any%20help%20I%20can%20get!%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1084268%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1084447%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20passing%20value%20of%20text%20box%20on%20click%20to%20update%20list%20column%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1084447%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20try%20this%3A%20%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Flync%2Fen-US%2Ffc97ce77-a562-427c-9ca5-958701bb2668%2Finsert-data-on-button-click-in-sharepoint-list-using-jquery%3Fforum%3Dsharepointdevelopment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Flync%2Fen-US%2Ffc97ce77-a562-427c-9ca5-958701bb2668%2Finsert-data-on-button-click-in-sharepoint-list-using-jquery%3Fforum%3Dsharepointdevelopment%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

I am new to SharePoint and have a task to complete. I have a text box on one SP page. Upon click of the submit button, I need the numerical value/input to be sent to a column in a list and update it. Seems like something so simple, but I can't figure out the coding to pass the value to the list column. For the button, I have the following code so far:

 

 

<input id="userInput" type="textbox" name="overallgrading"><input type="button" id="overallgrading" value="Submit" />

 

 

Where overallgrading is the name of the column in the list that I need to write to. I think there needs to be some sort of update function to save/pass the value, as there is a preset value of 0 in the column. I appreciate any help I can get! 

1 Reply
Highlighted