Hello Everybody
I want to do some validation.
There are to date fields on my form.
comfbis shouldn’t be <= comfab.
At onFocusLost of comfbis i do:
function m_datumbis_ok()
{
if (comfbis <= comfab)
{
globals.DIALOGS.showInfoDialog(globals.gg_hallo_user,"Datum bis sollte grösser als Datum ab sein!",'OK');
elements.comfbis.requestFocus(false);
}
}
globals.DIALOGS.showInfoDialog comes from mod_dialogs !!!
With smartclient everything is ok!
I can not leave comfbis until the value is greater then comfab.
But with webclient:
If comfbis <= comfab the messagebox is shown, but the focus is not on comfbis???
After closing the messagebox i can navigate to each other field on the form?
What do i miss??
How to validate with webclient??
Regards
Albert