Local Storage Application

I am trying to get certain variables saved into Local Storage.

I have one method that works from a Table
localStorage.setValue ("Taxfirst", table3.selectedRow.data.taxrate)
If I select a row from the Tax Table, the "taxrate" field goes to local storage properly.

But sometimes I need the taxrate to be updated in a simple entry field called e.g. "textinput2". The Finish button has the following code:
localStorage.setValue ("Taxfirst", textinput2.data.value)

This does not work. What is the syntax for this situation?

Mike Smith

localStorage.setValue ("Taxfirst", textinput2.value)

1 Like

Scott:

Yes, it worked.

Thank you so much.

Mike