Jump to content

Datapages: Show / Hide link basedon user authentication?


Recommended Posts

I would like to hide a link made in an html block in a Datapages>Reports>Tabular under Search Fields if the user does not have a tick in a certain yes/no field in the user table?

I can only find this without user check...https://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-hide-fields-in-datapages/

Anyone to help? ;)

Link to comment
Share on other sites

Hello @Skovgaard,

You may try to utilize Rules.

1) As a first step put the HTML  block under a separate section 
fRMKm1n.png

2) On the Rules tab use the authentication petameter to hide this section.

In my example below I used Parameter [@authfield:Account_Status] and Value No (that literally means "When the Account_Status field is not checked for the logged in user in the table then hide Section 2")

Replace Account_Status with your field name with Yes/No data type 

MQWirjn.png 

 

You may want to learn more about Rules https://howto.caspio.com/datapages/forms/conditional-forms/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...