Hi,

I ran into problems with the TabNavigator.

I would like to do some validation on a form when the user leaves a tab (there 
is no save button on the form).  If there are errors, the selectedIndex is set 
back to the previous tab for the user to correct the errors.  This worked fine. 
However, after the user corrected the errors and clicked to go to the next tab, 
the change event did not fire. The new tab was highlighted, but the content 
under the old tab was displayed.  If I clicked the old tab again at this point, 
the change event fired and showed the correct old and new indexes. The old tab 
was highlighted and its content displayed.

The codes are something like:

when a change event fired,
validate form,
if errors
{ put out alert message;
  set selectedIndex = old index;
)

Any ideas on how to fix this?  Thanks.

Susan




-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to