Highlighted

Number entered in Text Entry Box is not assigned to the variable unless the Enter Key is pressed

New Here ,
Aug 11, 2020

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

Views

22

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Number entered in Text Entry Box is not assigned to the variable unless the Enter Key is pressed

New Here ,
Aug 11, 2020

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

Views

23

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 11, 2020 0
Advocate ,
Aug 11, 2020

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.

 

calcTEB.gif

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 11, 2020 0
Lilybiri LATEST
Most Valuable Participant ,
Aug 11, 2020

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 11, 2020 0