NetTalk Central

Author Topic: Reset a tab  (Read 3636 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Reset a tab
« on: February 03, 2017, 03:45:28 PM »
Hi,

I have a memory form that has two tabs; one for settings and one solely for displaying the output of a script generated from those settings. I would like to 'reset' the tab or the script just like it was another field on the form when some of the settings are changed.   Is there any way to do this?

Thanks.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Reset a tab
« Reply #1 on: February 07, 2017, 12:34:41 AM »
I think you can reset a tab, but perhaps that is not necessary.

What field type are you using for displaying the results? Can you just do a regular Reset (Client-side tab) on this from the field which changes it?

cheers
Bruce

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Reset a tab
« Reply #2 on: February 07, 2017, 04:15:56 PM »
Thanks, Bruce

I am just using  packet.append('<<div id=<39>myoutput<39>><</div>')   in the Before Tab Table Starts embed.   Is there a field type I could use instead?

Yes, you are right I could reset tab once I had given the tab an equate.  Sorry for not noticing. Hope this is useful to someone else in the future.

Thanks again.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Reset a tab
« Reply #3 on: February 08, 2017, 06:58:42 AM »
Hi Casey,

>>  Is there a field type I could use instead?

DISPLAY

Then you can just reset the field.

Cheers
Bruce