NetTalk Central

Author Topic: Refresh Form  (Read 1777 times)

pbouma

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Refresh Form
« 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?
« Last Edit: July 02, 2014, 10:55:57 PM by pbouma »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Refresh Form
« Reply #1 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