NetTalk Central

Author Topic: To hide a tab  (Read 2770 times)

Thys

  • Sr. Member
  • ****
  • Posts: 311
    • View Profile
    • Incasu
    • Email
To hide a tab
« on: August 24, 2011, 12:57:40 AM »
Hi,

On a wizard form I have a tab that should sometimes be hidden.The tab has an equate ConsentForm and a hide condition p_Web.GSV ('Underaged') <> '1'. I found this condition in the generated source in the Value:ConsentForm routine. This routine is not called anywhere - except on a field that I have this tab to reset.

I would expect that the condition should be evaluated by calling the routine when the form is initially generated. Would it then help for me to call this routine in the GenerateForm routine?

Thys

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: To hide a tab
« Reply #1 on: August 24, 2011, 10:26:43 PM »
Hi Thys,

hmm - yes that's a bug. I've fixed it for 5.33.

If you want to manually embed the call do it in the
After Form and Scripts
embed point.

(remember to take it out though when you go to 5.33)

cheers
Bruce