cancel
Showing results for 
Search instead for 
Did you mean: 

Excluding/hiding fields in PDF email attachment

0 Kudos

Hi all,

We have created an online interactive form that has several elements, a dropdownbox, a subform and input textfields, that are hidden for the user in "Preview"/"Display"-mode.

We are using the following code to hide the elements (using FormCalc):

if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |

$record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" |

$record.CONTROL_PARAM.ISR_REVIEW == "true")

then

this.presence = "invisible"

else

this.presence = "visible"

endif

The requirement is to send this form as a PDF attachment to an email without the hidden fields. Currently the PDF attachment includes all the fields.

We are using LifeCycle Designer 7.1, and are on Netweaver 04.

Hope someone can help!

Regards,

Ellen

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ellen,

How do you send the form by mail ?

Try to not pass value for the field you want to exclude .

hope this help you

Regards

Former Member
0 Kudos

Hi,

In which event did you handle this logic?

Please check if handling the same logic in the 'preSubmit' event helps.

Regards,

Vidya Chowdhary A.