Can I know how do hide fields if there is no data?
For example, I have 2 fields side by side. One is Bank Name, another is DD Number.Depending on payment type i want to show or hide this two fields in report.
if payment type is cash then i want to hide Bank Name and DD Number and if payment type is DD Payment then i want to show Bank Name and DD Number.
Hide and show text field
Hide and show text field
Hello,
As a way you can use the Conditions. If fields is no data then set the "Component Is Enabled" property to false.
Thank you.
As a way you can use the Conditions. If fields is no data then set the "Component Is Enabled" property to false.
Thank you.
-
- Posts: 4
- Joined: Thu Oct 20, 2011 3:43 am
- Location: london
Hide and show text field
I want to hide and show my text box according to drop down select value. if user select drop down value "other" then i want show my text box and hide drop down list and he can select any value except other my text box is hide plz help me and give me sample code my code is here
$( function () {
if($("#subject").val()==="Other") {
$("#Sub").show();
$("#subject").hide();
}
else $("#Sub").hide();
});
$( function () {
if($("#subject").val()==="Other") {
$("#Sub").show();
$("#subject").hide();
}
else $("#Sub").hide();
});
Hide and show text field
Hello.
You should create a variable in your report and change its value in case of drop down selection. You can get this value using Flex ExternalInterface.call() or ExternalInterface.addCallback() function for communication with JavaScript.
Thank you.
You should create a variable in your report and change its value in case of drop down selection. You can get this value using Flex ExternalInterface.call() or ExternalInterface.addCallback() function for communication with JavaScript.
Thank you.