Skip to main content

Hide Age Text by Selection

Overview

The Hide Age Text by Selection plugin dynamically hides age-related text based on the user-selected unit—whether it's year, month, or day. Using jQuery selectors, the script targets specific elements within the designated component and hides the age text corresponding to the selected unit, creating a more streamlined user interface.

Use Cases

  • This plugin is ideal for applications where users need to view age information in different units, such as health apps, educational platforms, or any system requiring age tracking. It ensures that only relevant information is displayed, reducing clutter and enhancing the user experience by focusing on the pertinent details of the selected time frame.

Installing the plugin

Prerequisites:

  1. The page must have a table component
  2. The table must have a date field
  3. Javascript must be enabled (applicable if your're on trial account)

Step-by-Step Installation:

  1. Navigate to the page with this table, this can be a parent or child page. 
  2. Click on the Plugins
  3. Find the Hide Age Text by Selection plugin
  4. Select the table
  5. Select the date field

Removing the Plugin

To remove the plugin, find the Javascript code that is surrounted with a comment for the plugin name and delete the code. Do the same for the CSS as well.