since ‎18-11-2014
‎10-12-2019
DaveSQN
Level 1
Re: Hide/show multiple subforms based on dropdown selection
Avatar

DaveSQN

DaveSQN
- Adobe LiveCycle
if (this.rawValue == "Value 1" || this.rawValue == "Value 2") { //Select which options on the dropdown you want to use this.resolveNode("subform").presence = "hidden"; //Sets the subform "subform" to hidden}Alternatively use the Action Builder in the tools menu and make sure you are putting the Javascript on the "Change" event.

Views

152

Likes

0

Replies

0
Re: Get subform to print but only when printing to PDF
Avatar

DaveSQN

DaveSQN
- Adobe LiveCycle
Does anyone have any ideas?

Views

35

Likes

0

Replies

0
Get subform to print but only when printing to PDF
Avatar

DaveSQN

DaveSQN
- Adobe LiveCycle
Hi all,I'm trying to get a subform to display on print which works fine using the relevant="+print" command in XML, however I only want the subform to print when printing to PDF using Adobe PDF as the printer, is this possible with Javascript? If so what's the best method to do this?Basically I annotate the field names on top of form fields so that people know what each field name is but I don't want these to appear when printing the document out on to paper, I only want them to display if the d...

Views

172

Likes

0

Replies

1