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:
- I have Page1 (Binding=1) with Form Field show_page_two of Type=Boolean.
- I create a new Page2 (Binding=2) and I have various other Form Fields defined here.
- 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!