NetTalk Central

Author Topic: Open tab from button on NWF  (Read 3131 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • Email
Open tab from button on NWF
« on: August 15, 2019, 03:31:26 AM »
Hi Guys,

I have a NWF with 5 x tabs.  What is the easiest way to open (example tab-5) on the NWF with the click of a button from the 1st tab?

Alberto

  • Hero Member
  • *****
  • Posts: 1846
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Open tab from button on NWF
« Reply #1 on: August 15, 2019, 05:59:52 AM »
Just an idea...
If you pess F12 and select the tab control you will see... pic

And this is the code in the tab link

http://132.148.84.1:8633/uCuenta?change_btn=change&_bidv_=1Yl0ZcIV#tab_ucuenta3_div

Then what you need to do is call the same form with the change action and adding the #tab_ucuenta3_div bookmark

Hope this helps
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11176
    • View Profile
Re: Open tab from button on NWF
« Reply #2 on: August 15, 2019, 09:53:11 PM »
From memory. I've not tested, in your button embed code you wold have

p_web.ntForm(loc:formname,'showTab',x)

Where x is the tab you want to display counting from 0 as the first tab. (That's from memory, it may be that tabs are counted from 1.)

cheers
Bruce