Expand my Community achievements bar.

Button to open file

Avatar

Level 2

I would like to include a set of instructions in my form.  My thought was to include a help button, that when clicked would open up a separate file containing the work instructions.  I have 2 questions.

1.  How can I include the work instruction file within my form (I prefer the file to be hidden).  I can have the instructions in ppt or pdf format.

2.  What would  be the code required to open the file when the help button is clicked.

Thanks!  This forum has been a great help.

1 Reply

Avatar

Level 10

Hi,

This topic was discussed just last week. If you have a look back a few pages you should find it.

However if your form is already saved as a Dynamic XML Form, then I would recommend an alternative approach.

  • Create one (or more) pages at the end of your form.
  • Place all of your work instructions on this page(s).
  • Include a "Hide this help" button on the page.
  • Set the pages presence to hidden.
  • Then your "Help" button would set the page presence to visible and set the focus to that page.

This way you keep the form and the instruction together in one place.

Here is an example of showing and hiding pages from a dropdown: http://assure.ly/iWzzPg. Hopefully you can take the concept and apply it to your help page and buttons.

This one uses a loop and a kinda of tabbed view: http://assure.ly/kyMP6l.

Hope that helps,

Niall