NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: CaseyR on February 03, 2017, 03:45:28 PM

Title: Reset a tab
Post by: CaseyR 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.
Title: Re: Reset a tab
Post by: Bruce 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
Title: Re: Reset a tab
Post by: CaseyR 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.
Title: Re: Reset a tab
Post by: Bruce 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