Xform Designer - add skip logic to Page

Application Name: Platform Version Number: 2.1.2

Question: Hi All, I am working in the Patient XForm Designer and I have added some new pages to my form. Is it possible to add a Skip Logic to a page to only show it based on a set value for a field in another page? Consider the following example:

  1. I have Page1 (Binding=1) with Form Field show_page_two of Type=Boolean.
  2. I create a new Page2 (Binding=2) and I have various other Form Fields defined here.
  3. I would like to add a Skip Logic to the whole Page2 whereby I “Show” only when show_page_two=“True”

It seems as though Skip Logic is not enabled at the Page level. This would be the easiest solution.

I tried to work around this by writing some simple Javascript to handle this. However, I can’t seem to be able to reference Page2. I’ve been trying document.getElementById(“2”) as well as document.getElementById(“Page2”) as well as document.getElementsByName(“Page2”)[0], but none of these return anything.

How would I go about adding some skip logic around Page2 so that I can hide/show it based on another form field’s value?

Thanks!

@dkayiwa seen this ?

While on the form designer, select “Save As” from the “File” menu. Then send the file for me to take a look.

Hi Daniel,

Here it is (renamed to .txt, as .xml uploads are not permitted). Thanks Patient.txt (584.8 KB)

Hi Daniel,

Do you have an update on this issue?

Thanks

Can you create a ticket for this too?