NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on June 05, 2011, 11:13:59 PM
-
On a web form where the tabs are in wizard format, I need to do validation of the fields on a tab when the Next or Previous buttons are pressed. There doesn't seem to be embed points for those - does anyone knows where I can add these checks?
Thys
-
Hi Thys
Is there a reason why you don't want to do immediate validation on each field rather then when a tab is completed?
-
Seems like IE9 has a problem with immediate validation - doesn't give focus to the field marked with LOC:Invalid. So this is a catch-all I would like to add to the tab fields before it goes to another tab.
-
>> On a web form where the tabs are in wizard format, I need to do validation of the fields on a tab when the Next or Previous buttons are pressed. There doesn't seem to be embed points for those - does anyone knows where I can add these checks?
those buttons function completely in javaScript - so there are no Clarion embed points.
>> Seems like IE9 has a problem with immediate validation - doesn't give focus to the field marked with LOC:Invalid. So this is a catch-all I would like to add to the tab fields before it goes to another tab.
This was fixed in the 5.27 build.
cheers
Bruce
-
Thanks Bruce.
-
>> On a web form where the tabs are in wizard format, I need to do validation of the fields on a tab when the Next or Previous buttons are pressed. There doesn't seem to be embed points for those - does anyone knows where I can add these checks?
An option has been added to the "Validation" tab for forms. (Version 5.30)
Wizard: Validate Tab on Next.
If this is ticked on, then server side validation is performed on the fields (on the tab) before the user can go to the next tab.
Cheers
Bruce