Search these areas:
Support Forums
Product Info

-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Data Analysis
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-New Responsive UI Module

DataWeb Help
Support Forums
Script Library
Knowledge Base

Home > Support


How To: Display a field value according to another field's value
Article TypeHow To
TitleDisplay a field value according to another field's value
<i>"I have a table with the following fields:<br>
&nbsp;&nbsp;&nbsp;<span class="smallCode">HomePhone (text)</span><br>
&nbsp;&nbsp;&nbsp;<span class="smallCode">KeepHomePhonePrivate (true/false)</span><br>
How do I hide the <span class="smallCode">HomePhone</span> value in grid mode when <span class="smallCode">KeepHomePhonePrivate</span> is <b>TRUE</b></i><br>
Use a <a href="/default.view?Topic=views/xml/vxmlhtmlblock">ws:htmlblock</a>:<br>
<span class="smallCode">&lt;ws:htmlblock displaymodes="grid">&lt;ws:caption>Home Phone&lt;/ws:caption>#record.KeepHomePhonePrivate ? 'private' : record.homephone#&lt;/ws:htmlblock></span>
Last ReviewedFebruary 20, 2015 14:07:06

Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us