I have a window with a file upload inside. I have a cancel button, that puts on an indicator and closes the window. Well, If File Upload shows any validation error, I can´t press the button and close the window because File Upload is showing the validation error again and again.
It´s possible to determine witch buttons causes validation and witch don´t?
Thanks!!
Close window with File Upload in javascript
-
- Profound User
- Posts: 28
- Joined: Mon May 05, 2014 4:15 am
- First Name: Giovani
- Last Name: Garcia Estevez
- Company Name: SISA, S.L.
- Contact:
-
- Profound User
- Posts: 45
- Joined: Tue Mar 11, 2014 2:50 pm
- First Name: William
- Last Name: Negley
- Company Name: Utz Quality Foods
- Contact:
Re: Close window with File Upload in javascript
Each button element has a property "bypass validation". If set to True, it will submit the form regardless if a error exists or not. I usually always add these to my exit and back buttons.
http://www.profoundlogic.com/docs/displ ... Control%29
http://www.profoundlogic.com/docs/displ ... Control%29
-
- Profound User
- Posts: 28
- Joined: Mon May 05, 2014 4:15 am
- First Name: Giovani
- Last Name: Garcia Estevez
- Company Name: SISA, S.L.
- Contact:
Re: Close window with File Upload in javascript
It works perfectly. Thanks!!
Who is online
Users browsing this forum: No registered users and 5 guests