ImpInTraining
Programmer
I'm trying to make a dice-roller program. In the form I am using, it is to be reading various values from TextInput boxes. I'm just not too clear on how to obtain the data from a TextInput box.
For instance, I put a little error checking in there for the one box to decide how many dice to roll. If the Text Box with the Instance Name of "numberDie" is greater than 20, or less than 1, it is to give an error and await another attempted submit button push.
What would be the syntax of obtaining the text from that "numberDie" Text box, and could I use that syntax directly in my programming calculations, or should I copy it over into a variable before putting it to use?
For instance, I put a little error checking in there for the one box to decide how many dice to roll. If the Text Box with the Instance Name of "numberDie" is greater than 20, or less than 1, it is to give an error and await another attempted submit button push.
What would be the syntax of obtaining the text from that "numberDie" Text box, and could I use that syntax directly in my programming calculations, or should I copy it over into a variable before putting it to use?