Question
How to redo a string
I'm building a form for users and gathering their information
using simple strings like
var contactFirst:String = contactFirstName.text;
The problem I'm having is at the end of the form, I ask the user if they made a mistake to go back and correct it before continuing. On the button they press after correcting their mistake I have the same code:
var contactFirst:String = contactFirstName.text;
Assuming it will wipe the string and put in the newly inputted information. It doesn't. If Johnny changes his name to Tommy, the system still calls him Johnny.
help?
var contactFirst:String = contactFirstName.text;
The problem I'm having is at the end of the form, I ask the user if they made a mistake to go back and correct it before continuing. On the button they press after correcting their mistake I have the same code:
var contactFirst:String = contactFirstName.text;
Assuming it will wipe the string and put in the newly inputted information. It doesn't. If Johnny changes his name to Tommy, the system still calls him Johnny.
help?