Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Conditional fields/buttons in Portals


Digitalbrit

This topic is 5800 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all - as part of my portal, I am using a calculated field to return either a value or a "blank".

What I want to achieve is to then assign a button(script) to that field in the portal, but for this to only be there when there is a value present i.e. if there is a value the hand cursor should appear and the button can be pressed, whereas "blank" doesn't result in the hand cursor nor the ability to press the button.

At the moment no matter if there is a value or not, the hand cursor is appearing and the button can be triggered. Clearly this is happening because the field is still there, its only the condition of the field that says whether something is shown or not.

I could detect in the script whether there is a value present in the field and respond accordingly, but I really want to avoid giving the impression that the button is there in the first place (when its a blank) i.e. no hand cursor.

Any bright ideas or examples on how this can be done?

Also, I am seeing peoples examples where button graphics are actually one of the fields in the table. What's the reason for doing this when you could just put the button graphic in the portal?

Cheers

Tim

Link to comment
Share on other sites

This topic is 5800 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.