on 12-04-2006 10:31 AM
Hi
The following script in a checkbox change event returns the error below:
-
-
Z_Lso_BookingData.#subform[0].Subform6.CheckBox1::change - (FormCalc, client) -
-
if ( $.value == " 0" ) then
Subform2.presence = "invisible"
else
Subform2.presence = "visible"
endif
Error: invalid property get operation; value doesn't have default property.
Any suggestions what could be wrong? Thanks for responding.
René Morel
Hi
Thank you for responding. The problem was that in FormCalc you must use either the field name or the fully qualified SOM-path.
Regards
René Morel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopi
No, I want to set the visibility of a subform depending on the value of the check box. The check box itself is not located in that subform.
Regards
René Morel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If I get your problem then you are trying to make the check box visible and invisible based on some parameter.am I right then I would like to suggest to follow the following code in the script editor:
And if you want to make some text hidden/invisible based on some RFC parameter then try out this code:
Else if you are comparing on the basis that if the parameter returned is null then this would work.
In the script Editor try this script on the field in with the following
Show: initialize
Language: formcalc.
Run at: Client
If ( $.isNull ) then
$.presence = "hidden"
endif
Or try out this code
Write this code on superior subform.
If ( $.<FIELD>.isNull ) then
$.presence = "hidden"
endif
Provided the subform should be in flowcontent.
If you still see any problems let me know if you require any further help.
Thanks,
kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.