CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge -> Programming

 Hide / Show TR upon different type of content displayed

Print topic Send  topic

Author Message

Posts: 3
Posted: 10/24/2009, 11:02 PM


I am trying to hide/show TR which consist of form input that i want it to be displayed according to type of form.
So i added a tagging to each row to identify the object to hide/show :

example : <!-- BEGIN TextBox TarikhLPPerakuLantikan -->

Unfortunately if the TR consist of date format input field with the datepicker... it cannot be hide/show properly. The datepicker did not visible/invisible correctly.

I have upgraded to the latest version of CC.

These are the codes.

<!-- BEGIN TextBox TarikhLPPerakuLantikan -->   
<tr class="Controls"> <td class="th">Tarikh LPPerakuLantikan</td>   
<td><label for="RPerolehanDetailsTarikhLPPerakuLantikan" style="display: none;">         
<input id="RPerolehanDetailsTarikhLPPerakuLantikan" size="10" value="{TarikhLPPerakuLantikan}" name="{TarikhLPPerakuLantikan_Name}">    
<!-- BEGIN DatePicker DatePicker_TarikhLPPerakuLantikan -->  
<a href="javascript:showDatePicker('{Name}','{FormName}','{DateControl}');" id="RPerolehanDetailsDatePicker_TarikhLPPerakuLantikan">  
<img id="RPerolehanDetailsDatePicker_TarikhLPPerakuLantikan_Image" alt="Show Date Picker" src="../Styles/srpksilver/Images/DatePicker.gif" border="0"></a>  
<!-- END DatePicker DatePicker_TarikhLPPerakuLantikan --></td> </tr>   
<!-- END TextBox TarikhLPPerakuLantikan -->

if($RPerolehanDetails->StatusSemasa->GetValue() == "new") {   
$RPerolehanDetails->TarikhLOA->Visible = false;   
$RPerolehanDetails->TarikhLOI->Visible = false;   
$RPerolehanDetails->TarikhLPPerakuLantikan->Visible = false;   

Anyone has a solution for this?
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.