You are viewing limited content. For full access, please sign in.

Question

Question

Collection Field - One field will not show up in most cases

asked on June 12, 2019

So, I'm building a new collection, where I want three columns, but I've opted not to use a table because it meant the second field column did not stay as one column.  This clip shows the table with too many columns and, below it, my collection field not using a table:

 

NOW FOR THE PROBLEM:

In the collection field titled Hazards Noted - Option 2, there is the third column where I want the field Controls to show up on every line.  Problem is, it is only showing up on the last line.  Can you tell me why?

These are the Field Rules:

And the JavaScript to get the fields to line up (Note, the Control field is #q50):

#q32, #q33, #q34, #q35, #q36, #q37, #q38, #q49, #q50 {position: relative; float: left;}

0 0

Answer

SELECTED ANSWER
replied on June 12, 2019

Your third rule with the highest priority is sabotaging your first two. The third rule is saying, Show Other Hazards and Controls when Type is Other Hazard, with the implied otherwise don't show those two fields. So for the first two rows, since Type is not Other Hazard, Controls is not showing up. 

Why do you have Control in the field rule at all? It seems like it should be showing up in every case, just always have it showing. If that isn't true, use a separate field rule for Control. Show Control and save the data when any Type is Health Hazards, Type is Safety Hazards, Type is Other Hazard. 

This will show the Control field when any of those three are chosen without overwriting other rules. 

2 0
replied on June 17, 2019

That worked, Jared!  Thank you!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.