Code Won't let me submit to dataset with code that adds 1 to existing value in Text input (Generated from database)

i saw this before and am trying to add 1 to the number that is in the database and is displayed currently in the text input box. I have tried several methods but none of them have worked. Do you have any ideas of how to implement this with the code that you referenced to in the api?