on 08-31-2011 7:50 AM
Hi,
I have two text elements for same id and different languages. Both of these may have values. I need to hide 2nd text element if there is a value in the 1st. In case there is no value in the 1st, I want the 2nd to be printed.
I searched the SDN and tried all the given solns, but could not get the desired result.
Please help.
Regards
Jaspreet
hmmm.. can you post your code? hiding an element based on some value is very common
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
The formcalc code is as below:
data.#pageSet[0].Page1.TERMSLINK_CLAUSE.GT_CLAUSE.DATA.TEXT1::ready:form - (FormCalc, client)
if (data.#pageSet[0].Page1.TERMSLINK_CLAUSE.GT_CLAUSE.DATA.Text.rawValue ne " ") then
data.#pageSet[0].Page1.TERMSLINK_CLAUSE.GT_CLAUSE.DATA.TEXT1.presence = "hidden"
endif
Thanks
Jaspreet
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.