NetTalk Central

Author Topic: NTWS 4.42 Hidie condition  (Read 3816 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
NTWS 4.42 Hidie condition
« on: January 20, 2010, 02:56:02 PM »
Hi,

When I use a condition to hide a field, I put in a Hide condition.
When the hide condition is TRUE, the field AND prompt are hidden.
When the hide condition is FALSE, the field is shown and the Prompt is still hidden.
Is this intentional? This puzzles me.
Is this solvable??Because when the field is shown, I need the prompt to show as well.

Kind rergards,
Rene



 
Rene Simons
NT14.14

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: NTWS 4.42 Hidie condition
« Reply #1 on: January 20, 2010, 03:41:09 PM »
I came across that same problem the other day as well - I ended up making them read only.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NTWS 4.42 Hidie condition
« Reply #2 on: January 20, 2010, 08:58:10 PM »
Hi Rene,

Yes it's solvable - because you're doing it wrong  :)

This explanation contains two fields, which I'll call Gender and Age.
As you know it's impolite to ask a lady her age, so when the Gender field is set to 'F' the Age field is hidden.

So, the Hide Condition for Age is
p_web.GSV('Gender') = 'F'

Right, so far, so good, nothing new.

Also on the Gender field, Client Side tab, you've added "Age" as a Reset field.

BUT - when adding that reset you'll notice there are 3 checkboxes. To reset the Prompt, Value and Comment.
When you're doing a normal reset, then you only need to reset the Value. But when you're doing a Hide / Unhide
kind of reset you should check on all 3.

In your case you have Value ticked on, but not Prompt or Comment - hence Prompt and Comment are not reset (ie hidden).

Capiche?

Cheers
Bruce

PS: That'll teach you to Ask won't it Kevin :)



Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: NTWS 4.42 Hidie condition
« Reply #3 on: January 21, 2010, 02:13:04 AM »
Ok Thanks,

I allways thought those checkboxes were there to make the window look more interesting. ;)

Rene
Rene Simons
NT14.14