gmarkwood
Posts: 10
|
Posted: 02/05/2004, 4:27 PM |
|
I have been going round and round with what I thought was a simple thing to do. I want to control the visiblity of a control with it's caption. To test this, I just wanted to turn the visibility to true.
Here is my Code:
Function tbl_email_BeforeShow() 'tbl_email_BeforeShow @2-E66CF4D1
tbl_email.TO_1.Visible = True
Here is my HTML in my template page:
<!-- BEGIN Textbox TO_1 -->
<tr>
<td class="BerkshireFieldCaptionTD">TO_ </td>
<td class="BerkshireDataTD"><input name="{TO_1_Name}" value="{TO_1}" maxlength="50" size="50" class="BerkshireInput"> </td>
</tr>
<!-- END Textbox TO_1 -->
I have been all over this forum and the CCS help and I believe that I have the syntax and code correct, yes? Thanks for any help. Mark
|
|
|
peterr
Posts: 5971
|
Posted: 02/05/2004, 4:40 PM |
|
Please change "Textbox" to "TextBox".
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
gmarkwood
Posts: 10
|
Posted: 02/05/2004, 4:55 PM |
|
Geez, I am to tired!!! Syntax, Syntax, Syntax. Thanks for answering my stupid question. Mark
|
|
|
peterr
Posts: 5971
|
Posted: 02/05/2004, 5:06 PM |
|
Any time
And I understand that it's easy to get used to the case-insensitive VBScript code, while various features in CCS are based on parsing case sensitive strings.
In any case, a "Panel" feature is coming in the future - grouping and hiding multiple controls (HTML section).
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Bram
Posts: 5
|
Posted: 02/23/2004, 7:46 AM |
|
When I do this, it is not possible to use other fields from the row of the editable grid. When I use the KSTP_ID_Name in the function popupkostenplaatsen it is empty. When I remove the extended html tags everything works fine, but I want to be able to make the textbox not visible. What is my mistake?
<td><input type="hidden" name="{KSTP_ID_Name}" value="{KSTP_ID}" >
<!-- BEGIN TextBox KSTP_CODE --><input value="{KSTP_CODE}" name="{KSTP_CODE_Name}" ondblclick="popupkostenplaatsen('{KSTP_ID_Name}');" ><!-- END TextBox KSTP_CODE --></td>
|
|
|
|