Search these areas:
Help
Support Forums
Product Info



-Introduction
-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Views
-Templates
-Components
-Data Analysis
-Members
-Security
-Importing
-Exporting
-FTP
-JavaScript
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-Glossary
-New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

KnowledgeBase


How To: Change how a field is displayed based on its value
Article TypeHow To
TitleChange how a field is displayed based on its value
<i>In a table I have a true/false field called <span class="smallCode">flag</span>. If <span class="smallCode">flag</span> is <b>TRUE</b>, in the grid view I'd like to display the value "Yes" and if it isn't I'd like to display "No" (instead of "true" and "false").</i><br>
<br>
Use a <a href="/default.view?Topic=views/xml/vxmlselect">ws:select</a><br>
<br>
1. In your view, select your true/false field. Its properties will appear in the right pane of the Designer.<br>
2. Change this field's Input Type property to "select".<br>
3. Click apply.<br>
<br>
You can edit the display value by editing the ws:select tag's <a href="/default.view?Topic=views/xml/vxmloption">ws:option</a> children.
Last ReviewedFebruary 20, 2015 14:08:58

  
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