cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe Print Forms: Conditions to show or to hide text

Former Member
0 Kudos

I am working with the Adobe LiveCycleDesigner 7.1 Transaction HRFORMS using "Timeslip template"

The problem is:

If there are no results after running time payroll in the field G_DOIT (g_doit = 0) should appear the text field

"there are no results for you in this period......" if G_DOIT is >0" this field should be hidden.

Where and how can I realise this?

Thanks in advance

Wolf

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Wolf,

Try following :

1. Remove the Condition from you Context tab.

2. In the Driver Program check for the condition and fill the value in the internal table which is passed to

the adobe form.

3. Make the subform (under which the field is added in the hierarchy view) as flowed.

4. In the script editor, Select the 'javascript' and write the script to hide the form field specifying the condition here.

for e.g

if (xfa.form.FORM.SUB_FORM.matnr == "123") {

xfa.form.FORM.SUB_FORM.Region = "hidden";

}

NOTE: Javascript is Case sensitive and stops working immediately after the line of code where an error occurs.

Hope this proves to be useful.

Thanks,

Swar.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Wolf,

Your query is not very clear may be I can help you with this....

Regards,

Swar.