Disable Hidden Links

Use this board to ask questions or have discussions with other Rich Displays users.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Disable Hidden Links

Post 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 282 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.
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Disable Hidden Links

Post by Brian »

Glad we could help you sort it out. Happy Holidays!
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests