Is it possible (if yes how) to fire a own error dialog when using the table column Validation property “servoy.EmailValidator”?
Best regards, Thomas
Is it possible (if yes how) to fire a own error dialog when using the table column Validation property “servoy.EmailValidator”?
Best regards, Thomas
you should be able to catch those in the solution on error event method.
Thank you Johan, I made it!
But one more question:
I have “Edit”, “Save” and “Back” buttons. I’m in “Edit” mode and able to insert value in the ‘email’ column. The insertation is wrong and the validation will fail, but the cursor is still in the column. When I now click on the i.e. “Save” button and fire the method on the button I get a “TypeError: Cannot find function …”. How can I solve that issue?
Best regards, Thomas
i have no idea what exactly goes wrong
You seem to call something in scripting that is illegal
Hi Johan,
the question is:
How can I ask the condition of Servoy when the solution stuck because the validation of e.g. the email column (by servoy.EmailValidator) failed?
The situation is:
I insert a wrong value in the e.g. email column but don’t leave the column by tab or click beside. Now I click on a button. The valitator generates the expected error message AND I get an Servoy error dialog “TypeError: Cannot find function xy.”
How can I catch that condition for the button function?
do you have any more data when and how you get that Cannot find function?
Else create a sample solution and attach it to a case.
I made a new seperate topic for this issue, because it’s not only by the servoy.EmailValidator.
http://forum.servoy.com/viewtopic.php?f=8&t=14094#p74105
Today I have testet the servoy.EmailValidator on a Smart Client from my customers Application Server.
The valitation operation time takes over 45 seconds!!!
On the first try I thought the Smart Client is frozen…, but after a cup of coffee the error dialog was displayed and the Solution unlocked.