Page 2 of 2

Re: Disable Hidden Links

Posted: Mon Dec 23, 2013 5:31 pm
by Scott Klement
It looks to me like you are using a character field for visibility, and so are setting it to 'hidden' or 'visible' directly. You can also use an indicator field. If you do that, in the 'Indicator' section of formatting, you can control what *ON and *OFF are mapped to. Take a look at the following screenshot:
davevis.png
davevis.png (16.57 KiB) Viewed 286 times
In this example, you'll see that I have 'visible/hidden' highlighted. In this case, when the indicator is on, it will insert the word 'visible' into the dynamic HTML that PUI is generatng. If it's off, 'hidden' is inserted. But, I could potentially also select the option below it, which has the opposite (hidden/visible). So that's how you can control the indicator mapping -- however, on the RPG side of things, you'd still only specify *ON and *OFF if you're using an indicator. The values you are using are what you'd do if using a character field instead.

The 'disabled' property only allows *ON and *OFF, it cannot be mapped to different values in the same way as the 'visibility' property because 'disabled' is a boolean property, whereas 'visibility' is not. Hope that helps.

Re: Disable Hidden Links

Posted: Mon Dec 23, 2013 5:42 pm
by Brian
Glad we could help you sort it out. Happy Holidays!