Page 128 - KEC Khaitan C5 Flipbook
P. 128

STORING USER INPUT IN A VARIABLE

                  You can take user input from a text box and store it in a variable by following the steps
                  below:

                  Step  1  Click on Design mode and add:

                     A Text Input (ID: nameInput): Where the user types their name.























                     A Button (ID: submitbutton):  The button to submit the name
























                     A Label (ID: outputLabel): Where the greeting will appear

























                  126   Premium Edition-V
   123   124   125   126   127   128   129   130   131   132   133