on 12-29-2010 6:00 AM
Hello all,
I have maintained a counter in the program I_CLASS....iF i_class is space I need to hide a window in the adobe form....can any one tell me the process to do it. we have tried a script to hide it...
if ( $.I_CLASS.rawValue == "X" ) then
$.Send_invoice.Street.presence == "INVISIBLE"
endif
It is not working...I have taken all fields in the window to a sub form and the aain the main window in to an another sub form...I have moved the i_class counter to this main sub form...then I have tried the given script....Can any one suggest me any solution for this....................Thanks in advance
Hi,
You have code in Formcalc scripting language, if its ok for you try the below java script code on formready event of I_Class.
Send_invoice.Street.presence = (I_CLASS.rawValue == "" || I_CLASS.rawValue == null) ? "hidden" : "visible";
make sure you are referencing street & I_Class with the correct heirarchy paths often this was the mistake most people do.
have a try and let me know for any queries ...
Cheers,
Sai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey buddy...check the syntex...it should be like dis
if ( $.I_CLASS.rawValue == "X" )
$.Send_invoice.Street.presence == "HIDDEN";
Endif should not be der and it will end with ' ; '
Keyword HIDDEN is used to hide the total window/space, but INVISIBLE, takes window space any ways though it does not print anything.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
well according to your requirement,
your script should be :
if ( $.I_CLASS.rawValue == " " ) then
$.Send_invoice.Street.presence == "HIDDEN"
endif.
but you wrote :
if ( $.I_CLASS.rawValue == "X" ) then
$.Send_invoice.Street.presence == "INVISIBLE"
endif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.