--- title: "DateTime Label Visibility Rule on Form" slug: "datetime-visibility-rule-on-form" updated: 2021-03-12T15:05:29Z published: 2021-03-12T15:07:13Z canonical: "documentation.decisions.com/datetime-visibility-rule-on-form" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # DateTime Label Visibility Rule on Form Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 6.10.1 | | **Root Folder** | Example Lab - Hiding Date Time on Form | | **Modules** | None | | **Dependencies** | None | This Example Lab project demonstrates how to set the **DateTime** in a label on a Form, then hide it with a visibility Rule. --- ## Explanation This project works by taking a DateTime value, set on the **Create Data** step, and is passed into the Form and Visibility Rule as inputs on the Form itself. The rule then checks to see if it is equal to the given value. If this is true then the visibility Rule will hide the label that shows the DateTime value. If it is false, it will show the DateTime label and value. Reference Articles[About Forms](https://documentation.decisions.com/docs/about-forms) [Controlling Form Fields with Visibility Rules](https://documentation.decisions.com/docs/controlling-form-fields-with-visibility-rules) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Hide%20Dates%20on%20Form.PNG) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.10.1 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab[HidingDateLabelOnForm].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BHidingDateLabelOnForm%5D.zip) ---