Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Viewing only questions that the answer is Yes or N/A

donn44157260
Level 5
Level 5

Good Day All;

I have been asked to see if I can come up with a form the has approx. 40 questions in 2 seperate sections. The owner of the form would not only like to view the completed form but also have the ability to only see questions marked "Yes" or "No" or "N/A". The three options would be available from a dropdown.

I hope I have explained this well enough

Chomp

1 Accepted Solution
Niall_O_Donovan
Correct answer by
Level 10
Level 10

Hi Chomp,

You could achieve that, espicially of the form was set to Flowed.

It would be easier if the only dropdowns on the form were these questions. You would basically loop through the form contents looking for objects with a className of field AND a ui.oneOfChild.className of choiceList. Then test the value of that object, if it is Yes, No or N/A, then change the presence.

The LockAllFields is a good example of looping through the form contents. http://assure.ly/yDtfsM.

Niall

View solution in original post

2 Replies
Niall_O_Donovan
Correct answer by
Level 10
Level 10

Hi Chomp,

You could achieve that, espicially of the form was set to Flowed.

It would be easier if the only dropdowns on the form were these questions. You would basically loop through the form contents looking for objects with a className of field AND a ui.oneOfChild.className of choiceList. Then test the value of that object, if it is Yes, No or N/A, then change the presence.

The LockAllFields is a good example of looping through the form contents. http://assure.ly/yDtfsM.

Niall

View solution in original post

donn44157260
Level 5
Level 5

Thanks Niall...

Seems to do the trick