on 11-10-2011 2:42 PM
Hi,
I have some fields in my form that i want to hide. I added in some javascript into the button-click event. When previewing in the Adobe LiveCycle Designer, the fields are hidden successfully,but when i press F8 button the fields are not able to hide.
My JavaScript is:
if(this.rawValue == null)
{
this.presence = "hidden";
}
Thanks.
Hi,
you can use as below,
below Scripting can be used to ahcive this.
1. FormCalc Scripting.
2. JavaScript.
Combination of both is also allowed in same form.
Example:
if( hasValue($) ) then
StaticText1.presence eq u2018visibleu2019
Else
StaticText1.presence eq u2018hiddenu2019
Endif.
Thanks,
Chandra
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.