NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ozejohn on January 12, 2009, 09:02:26 PM

Title: insert not restoring position properly on multiple tab form
Post by: ozejohn on January 12, 2009, 09:02:26 PM
Hi,

I have a lot of browse lists with insert buttons on many different tabs on a form. If I insert a record from any of the tabs and save the form does not keep the correct tab. The form displays on the first tab after an insert.

For example if you have a form with two tabs one with a list of customers and one with a list of invoices. You select the second tab to see the list of invoices then enter a new invoice. When you save the invoice the form redisplays incorrectly on the first tab. It needs to return to the second tab in this case.

This makes it impractical to add or change records on a browse on a tab other than the first tab. The user has to keep reselecting the correct tab on the form after entering each record.

If this could be looked at soon I would really appreciate it.



Title: Re: insert not restoring position properly on multiple tab form
Post by: Bruce on January 13, 2009, 01:11:44 AM
Hi John,

which tab style are you using?

Cheers

Bruce
Title: Re: insert not restoring position properly on multiple tab form
Post by: ozejohn on January 13, 2009, 06:24:13 PM
Hi Bruce,

The forms that contain the browse controls on tabs are all memory forms with a tab style of "default".

Title: Re: insert not restoring position properly on multiple tab form
Post by: Bruce on January 22, 2009, 11:09:03 PM
Hi John,

yeah, ok, but then what is the "default" set to on the web server?

Cheers
Bruce
Title: Re: insert not restoring position properly on multiple tab form
Post by: Bruce on January 26, 2009, 01:45:46 AM
Hi John,

specifically - try using the XP-Tabs tab style. I'm testing using that, and the tab focus seems to work ok.
There is an older tab style as well - but, the XP one looks better, and works better.

Cheers
Bruce
Title: Re: insert not restoring position properly on multiple tab form
Post by: Alan Telford on February 02, 2009, 05:10:12 PM
Hi Bruce

I've wanted this to work for a long time too.
I've just tested my scenario and it's not working.
NT4.31 pr30 + firefox 3
The web server default is XP-TABS.
I have a memory form with "Default" as type.
Tabs 1-2 has form fields.
Tabs 3-8 have browses (some file loaded, some page loaded).
I usually use inline change buttons on the browse row.
If I select tab 3, press change (on the browse row), and then press SAVE on the form, it is ALWAYS resetting me back to tab 1.

So definitely not working for me here.

Alan
Title: Re: insert not restoring position properly on multiple tab form
Post by: Bruce on February 04, 2009, 06:49:03 AM
can you make, or modify, an example to show this effect?

I've been testing in example 31 and it seems ok there.

Cheers
Bruce
Title: Re: insert not restoring position properly on multiple tab form
Post by: Alan Telford on February 08, 2009, 03:04:39 PM
Try this one Bruce.
It's based on web 21 (Browse in Form).
There is a new option "Test" on the menu.
This opens a form with 3 tabs.
Change to the 2nd tab "Browse Countries".
Press the change button on browse row 3, then press SAVE on the form.

The TestTabs form is reloaded with the 1st tab selected, not the 2nd tab.

Alan

[attachment deleted by admin]
Title: Re: insert not restoring position properly on multiple tab form
Post by: Bruce on February 09, 2009, 02:31:53 AM
Hi Alan,

Thanks for that. It is quite a subtle bug because it only affects memory forms.
Forms based on a file are ok.

I've fixed it for the next build.

Cheers
Bruce
Title: Re: insert not restoring position properly on multiple tab form
Post by: Alan Telford on February 09, 2009, 02:18:21 PM
Awesome. Thanks very much.