NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on July 14, 2013, 10:28:27 PM
-
I have a wizarded memory form with 3 tabs. If I go past the first tab and on the second or 3rd tab I cancel the form and then return to the form it returns to the same tab it was on when I cancelled.
Is there a method of making the form always open on the first tab?
-
are you going to the form in "change" mode, or "insert" mode?
-
Hi Bruce
Change Mode
-
ok, right click on procedure, choose source, search for
'ntwiz'
That'll be on the line;
p_web.jQuery('#' & lower('tab_MailboxesFormControl_div'),'ntwiz',loc:options)
in the embed just above that put
loc:options = p_web.SetOption(loc:options,'activeTab',0) ! tabs are numbered from 0
-
NT715 Clarion8
Hi Bruce. Did this. Solved that issue but has created another.
If on the second or third tabs I do a lookup I am now returned to the first tab after each lookup.
-
popup lookup, or page lookup?
-
Hi Bruce
Page lookup and the form is also page
-
yeah, it's gonna get tricky...
ok - try setting the session value only in the PreChange routine.
p_web.SetSessionValue('showtab_ProcedureName',0)
Cheers
Bruce