In this article, we will guide you how to use HTML and CSS code to hide fields in Submission Form, Single Record Update, Details, List, Gallery or Calendar DataPages. This procedure is commonly used to hide read-only fields or virtual fields and then get their values with JS code.
Note: You can also use Hidden form element to hide a single field or Rule to conditionally show and hide fields in the DataPages.
HTML1:
HTML2:
Add the following code for Form, Single Record Update and Details DataPages with the Responsive option disabled.
HTML1:
HTML2:
Add the following code for List, Gallery and Calendar DataPages with the Responsive option enabled or disabled.
HTML1:
HTML2:
Note: This article uses external HTML, JavaScript, or third-party solutions to add functionality outside of Caspio standard feature set. These solutions are provided “as is” without warranty, support or guarantee. The code within this article is provided as a sample to assist you in the customization of your web applications. You may need a basic understanding of HTML and JavaScript to implement successfully.
For assistance with further customization based on your specific application requirements, please contact our Professional Services team.
<div style="display:none;"><div>
</div></div>
<table style="display:none;"><tr><td>
</td></tr></table>
</dd><div style="display:none;"><dd>
</dd></div><dd>
Caspio is the world’s leading cloud platform for building online database applications without coding.
Start a free trial today and experience the power of no-code.
© 2024 Caspio, Inc. Sunnyvale, California. All rights reserved.