NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: pbouma on July 02, 2014, 06:02:02 AM

Title: Refresh Form
Post by: pbouma on July 02, 2014, 06:02:02 AM
I have a form on which the customer can select a contractID. If the contract has a certain value the extra tab should show or hide. To show or hide the tab is in the 'Tab Condition' . This works only after the record is saved (I mean after save and re-open the form). How can I 'refresh' the form after the user has selected the contract?
Title: Re: Refresh Form
Post by: Bruce on July 03, 2014, 01:13:18 AM
A tab hides and unhides just like any other field on the form.

a) make sure the tab has a use equate

b) set the "Hide condition" for the tab. (Usually using the session value of some other field on the form. For example;
p_web.GSV('inv:paid') = true

c) on the parent field (inv:paid in this example), go to the client side tab and add the Tab's Equate to the "reset list".

Cheers
Bruce