on 05-05-2015 9:01 AM
Dear Friends!
I am trying to hide one subform when I have certain value in text field. I tried following code but it didnt help me at-all. will it be possible for you to show my my mistake.
the business case is I am not supposed to display Form 16 related information in payslip when payroll areas are 13 & 14 for other payroll areas form 16 should display. here subformname is Form16.
code:
data.#pageSet[0].Page1.Form16.Form16::ready:form - (JavaScript, both)
IF(data.page1.payslipheader.GV_ABKRS.rawValue == 13);{
Form16.presence = "hidden";
}
IF(data.page1.payslipheader.GV_ABKRS.rawValue == 14);{
Form16.presence = "hidden";
}
above code is not hiding Form16 subform.
thanking you
Regards
Naim
Hello
Under initialize event of subform, insert the following formcalc script
if ( $record.page1.payslipheader.GV_ABKRS.rawValue == 13) then
this.presence = "hidden"
else
this.presence = "visible"
endif
Hiding of a subform or a page in Adobe Forms - Contributor Corner - SCN Wiki
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.