on 08-27-2010 1:00 AM
Hi,
We recently upgraded our system to Enhacement Pack 4. One of our Adobe form has following Java script code:
if ( this.rawValue == null || this.rawValue == " " || TXT_HDR_0010.rawValue == "" ) {
this.presence = "hidden";
}else{
this.presence = "visible";
}
prior to EhP4 this code was working fine. Now after EhP4 it is printing a blank line that is resulting in extra page. So instead of one page output now we have 2 pages.
Thanks in advance for your help.
Regards
Jitendra
I found the variable because of which this issue is surfacing. I do not know much about Adobe Forms. Developer is using Text Type as TEXT MODULE instead of actual variable. As soon as we use TEXT Module above code fails to check if the field is empty or not. Any thought on how to resolve this. In my example I have a field RETURN TEXT which is assigned to another field with TEXT TYPE as TEXT Module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you let us know where exactly the code is wriiten i.e. form:ready event of main subform or initialize event of TXT_HDR_0010 field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
TXT_HDR_0010.rawValue == "" seems weird to me, are you sure about this one? Is this a correct field/ node address?
And are you sure the blank space is caused by this script?
By the way, there is a warnings tab in LCD, where you can see the errors (at least in my LCD 8.1). in LCD 8.1 you can also use the syntax check.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.