Look at my code. Inside of each textfield there is an “onfocus” that sets that field as the current one.
Then, the button code puts text inside it. So, any field you want to use, make sure it has an ID=“name” in it and the ONFOCUS= in it… Simple. So, your example with payment2 will work. I noticed you had an error in your sample. payment2 for name and payment3 for id… My code goes by ID only. But, they should be the same. (name=“payment2” ID=“payment2” NOT name=“payment2” ID=“payment3”)
Hope that helps… Gotta head out for awhile… Will check in later a few hours…