NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Robert Iliuta on March 11, 2011, 02:47:39 AM
-
Hallo,
I call a form from a link and this form has 6 tabs. How can I call and open tab 4?
This is the link I call the form:
U_Membri?MEM__Nr=778&Change_btn=Change&
now after the form open on tab1 it I select tab4 this is the link:
U_Membri?MEM__Nr=778&Change_btn=Change&#tab_u_membri4_div
now if I call directly this link it will open the same on tab1.... Is there a way to open on tab4?
Thank you,
Robert
-
are you using "tabs" or "xp-tabs" as your tab style?
-
Hallo Bruce,
I use "tabs"
Robert
-
The "tab to start on" is stored in a session variable.
p_web.setsessionvalue('showtab_MailboxesFormControl',0)
Tabs are numbered from left to right, with the leftmost one being Tab number 0.
You can set this at the top of the GenerateForm routine. So in your case a URL something like;
U_Membri?MEM__Nr=778&Change_btn=Change&tab=2
And code like this;
if p_web.IfExistsValue('tab')
p_web.SSV('showtab_procedurename',p_web.GetValue('tab'))
end
Cheers
Bruce
-
Hallo Bruce,
You are the best!!!
Works perfect! Thank you very much for help.
Regards,
Robert