I have created many forms over the years where fields are required. So I set the allowBlank property equal to true. Then I set the formBind: true on the submit button. I also have a cancel button that allows the user to just quit and go back.
For some unknown reason, when the cancel button is clicked, it displays the error message for the 1st text file being required, rather than executing the cancel function.
If you then click cancel a second time, the cancel function executes. I've never had this before so I'm stumped..
I've attached the form panel code and screen shots (rather than copy & paste here)
Any suggestions?
For some unknown reason, when the cancel button is clicked, it displays the error message for the 1st text file being required, rather than executing the cancel function.
If you then click cancel a second time, the cancel function executes. I've never had this before so I'm stumped..
I've attached the form panel code and screen shots (rather than copy & paste here)
Any suggestions?
Comment