Jump to content
  • 0

Hiding / Record Action Container Depending On The Membership Level


skauntey
 Share

Question

Hi All,

 

I would like to hide Record Action Container depending on the type of membership, a user has subscribed to. By hiding, I meant visibility of the container not the interactivity.

 

I understand that it is easy to switch off the visibility by selecting not to display. But this will complicate the matter and far from ideal as I have over 4 different types of memberships and 20 different pages that require Record Action Container - in some cases hidden where as in others either fully displayed ( means Delete and Detail options) or partially displayed( either Delete or Detail).

 

I would really like to have a simple solution that works like this.

 

If this checkbox A & B is checked, display Delete and Detail

If checkbox A is checked, display Delete

If checkbox B is checked, display Detail

If none is checked, hide Record Action Container.

 

These checkboxes are checked automatically at the Record Level depending on the membership type. 

 

Thanks in advance

K

 

 

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

What do you mean by membership type?

 

I hear AuthTable, but 

 

If this checkbox A & B is checked, display Delete and Detail

If checkbox A is checked, display Delete

If checkbox B is checked, display Detail

If none is checked, hide Record Action Container.

makes me think otherwise.

 

Is membership something you select on the fly?... like by checking checkbox A or B.

Or is it in the AuthTable?

 

If it's an AuthTable scenario see... http://forums.caspio.com/index.php/topic/5501-conditional-formatting-trick/

 

Add AuthTable Parameters to the Class or ID and use CSS to do whatever you want with each element.

 

If it's something you select on the fly, use Rules Tab in the Caspio DP builder to hide or show sections.

Link to comment
Share on other sites

  • 0

Hi Chad

 

Thanks for your reply. Membership type refers to a type of client let's say free (users) and paid (enterprise).

 

Situation is like this: Paid and unpaid both can add products to their basket but only paid customers can customize it as per their preferences and taste.

 

I am using List and Tabular layout to display products. Depending on the membership type I would like to hide/show Record Action Container and Grid Edit function.

 

Hope this helps. Thanks in advance.

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
Answer this question...

×   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...
 Share

×
×
  • Create New...