on 04-24-2017 7:16 AM
Hi Experts,
This is the table which i am using. I want to hide the "Subtotal" subform if the value in SVEMNG is 0 or null.
for this i have written below a javascript in "form:ready" for field SVEMNG with the expectation that for row item it will check for the value of SVEMNG to be null or 0 and then hide the subform. But this has partially solved my problem as subform got hidden only once.
Please let me know how to fix this.
//data.BodyPAge.Table.Bodyrow.Item_Data.Subtotal.SVEMNG::ready:form - (JavaS
cript, client)
if( this.rawValue == 0 || this.rawValue == null)
{
data.BodyPAge.Table.Bodyrow.Item_Data.Subtotal.presence = "hidden";
}
Hi!
You can do it in other order. Try to set this script for the subform, not for the field
Evgeny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks it worked.
Regards,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.