G
Guest
Hello,
I need to create my own error messages for data validation because the
messages need to be in two different languages. When trying to close a form
and there is bad data contained in the focused field, error message 2169 pops
up. Using the form_error event, I have managed to (thanks to this forum) run
my own error message and avoid the english message. My error messages have
been created in a form (rather than a message box) so as I can dynamically
control the content and the font (depending on the language chosen at the
outset) . HOWEVER, when I run my message, the form closes. But if the user
clicks "NO" (they don't want to close and lose their changes, they want to
have another go at re-entering the data), how do I prevent the form from
closing and revert back to the last (bad data) field? (AS it does when error
2169 runs as normal, without being over-written)
Hope this is clear.
Thanks,
Ronnie.
I need to create my own error messages for data validation because the
messages need to be in two different languages. When trying to close a form
and there is bad data contained in the focused field, error message 2169 pops
up. Using the form_error event, I have managed to (thanks to this forum) run
my own error message and avoid the english message. My error messages have
been created in a form (rather than a message box) so as I can dynamically
control the content and the font (depending on the language chosen at the
outset) . HOWEVER, when I run my message, the form closes. But if the user
clicks "NO" (they don't want to close and lose their changes, they want to
have another go at re-entering the data), how do I prevent the form from
closing and revert back to the last (bad data) field? (AS it does when error
2169 runs as normal, without being over-written)
Hope this is clear.
Thanks,
Ronnie.