on 10-31-2012 7:29 AM
hi expert,
when I click the condtion
if ($.parent.ASSEM_PROFIL == "Z200") || ($.parent.ASSEM_PROFIL == "ZA20") then
$.presence = "hidden"
else
$.presence = "visible"
endif
Why the condition is not working?
Is there a problem syntactically?
Best Regards
ami
Ami,
Please try this
if ( ( $.parent.ASSEM_PROFIL == "Z200" ) OR/AND ( $.parent.ASSEM_PROFIL == "ZA20" ) ) then
$.presence = "hidden"
else
$.presence = "visible"
endif
Instead of symbol II please try using 'OR' or 'AND' as required without quotes. Make sure that the language is Formcalc not javascript.
Rgds,
Nitin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check in the Script editor whether the Language is FormCalc or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.