Copy link to clipboard
Copied
Dear all,
I am suffering from a problem. I am using a Text Entry Box to get value from the user and do further calculations. I have deleted the default submit button and created the custom one. I notice that when user enters number in the Text Entry Box and hit submit button, variable value is not updated. But if user enter a number in Text Entry Box and hits Enter key and then clicks to Submit button, then only variable assigned to the Text Entry Box is updated.
Please guide me how to solve this problem.
Kind regards,
Vaibhav
Copy link to clipboard
Copied
I would verify that your logic is setup correctly and that the Text Entry Box is updating the variable that you want it to.
By default it will be tied to a variable of the same name it is given upon creation such as Text_Entry_Box_1
If you are using different variables in your calculations, make sure that the entry box is tied to the right one.
The enter key, by default should not be needed to update the variable.
As you can see in the clip below - the variable is updated in real time and the submit butt will perform the calculation as expected.
Hopefully this helps - perhaps with a little more detail on your situation - I could give a more targeted response.
Copy link to clipboard
Copied
How did you check that it is not updated? Do not delete Submit buttons, you could have unchecked it in the Properties panel of the TEB. What is the functionality of 'your' Submit button that made it necessary to replace the default button which could have triggered any action (simple, advanced, shared...) on Success.
Very important question: is the TEB validated or not? You didn't specify that. Have a look at:
http://blog.lilybiri.com/text-entry-boxes-back-to-basics
Did you use any of the Advanced options for the TEB? Those who are lmiting the entries?