1. Home
  2. AccessAlly
  3. Custom Operations
  4. Choose to Show Or Hide Page Content by Field Value in AccessAlly

Choose to Show Or Hide Page Content by Field Value in AccessAlly

With AccessAlly, you can hide (or reveal) content on your site based on how many “points” a user has in their custom field bank.

This feature uses a conditional content shortcode that simply reads the numerical amount listed in a CRM custom field.

How to Show Content By Field Value

    1. Create a custom field in your CRM if you haven’t yet. Note the name of the custom field.
    2. Use the AccessAlly shortcode adder to add a Conditional Custom Field Value shortcode.

Screenshot showing the AccessAlly shortcode adder

    1. Select your custom field you created in Step 1.
    2. Set your criteria. Choose from Less than, Equal to, or Greater than. Enter your value.
    3. Generate Code. Scroll down and Copy to Clipboard

GIF from AccessAlly showing the steps to adding a custom field with conditional value set

    1. Paste the shortcode to your page.
    2. Add your copy between the two shortcodes.

Screenshot showing where to add the copy between the two shortcodes.

The copy that you put between the two shortcodes will only show up if someone meets the criteria you selected. If someone does not meet the selected criteria, they won’t see anything.

Test

  1. Use a test user that has the field value that meets the criteria to verify you see it. You’ll need to Refresh CRM Info from the top navigational menu if you update the test users field value in your CRM.
  2. Use a test user that does not meet the criteria to verify that nothing appears. You’ll need to Refresh CRM Info from the top navigational menu if you update the test users field value in your CRM.

Pro tip: The User Switching plugin can be a very helpful tool for testing!

Updated on November 16, 2023

Was this article helpful?

Related Articles

NO QUESTION GOES UNANSWERED

If you have any questions, we're just an email away.

We take your success seriously, and you'll always get a speedy reply from a real person during business hours.

Laptop with the AccessAlly demo site

AccessAlly is the most flexible way to sell and elegantly deliver digital offerings. All in one place.

WATCH THE DEMO

You'll get follow-up emails about AccessAlly and new features. Opt out anytime. Full privacy policy here.