Hello, I have found something that feels like a bug. I have a form widget with 3 fields. 1 field is a drop down. My form helper program validates the numbers entered into the forms. The form helper runs "At form creation and each time a field is changed or loses focus". The works well as long as the user tabs out of the field or presses enter.
The form helper is also in charge of displaying a Save button if all the values are valid. What I noticed can happen is that a user can fill in the fields, get the save button to appear, then delete the value from the field and immediately hit the save button. What really interesting is that you can NOT do that same thing with the drop down. If you try changing the values in the dropdown, the form helper immediately runs. I only have trouble with the text input fields. Check out the screenshot. I can hit Save with a blank value if I leave the cursor in the field. If I try deleting anything out of the drop down, it removes my save button immediately.
What this causes me to do is put the same validation in my button program as I have in my form helper.
What do you all think?
The form helper is also in charge of displaying a Save button if all the values are valid. What I noticed can happen is that a user can fill in the fields, get the save button to appear, then delete the value from the field and immediately hit the save button. What really interesting is that you can NOT do that same thing with the drop down. If you try changing the values in the dropdown, the form helper immediately runs. I only have trouble with the text input fields. Check out the screenshot. I can hit Save with a blank value if I leave the cursor in the field. If I try deleting anything out of the drop down, it removes my save button immediately.
What this causes me to do is put the same validation in my button program as I have in my form helper.
What do you all think?
Comment