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

Question

Question

Hide Field Rule Not Working With CSS

asked on March 10, 2015 Show version history

I have CSS that is putting two fields side by side. One of those fields has a field rule to hide in certain cases. When the form is saved to the repository the field is no longer hidden and shows up blank. Is there a way without using JavaScript to fix this problem? If not I am not sure how I would use JavaScript to fix the problem.

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on March 19, 2015

I guess you set {display:inline-block} on the field that should be hidden?

Can you try using {position: relative; float: left;} instead?

You can find a similiar issue that explains how {display:inline-block} breaks field rule here: 

https://answers.laserfiche.com/questions/48394/SidebySide-Form-Fields--Rules

0 0
replied on March 19, 2015

That worked. Thank you

0 0

Replies

replied on March 11, 2015

What version of Forms are you using and can you share with us the css code you are using and the field rules you configured so that we can do further trouble shooting?

0 0
replied on March 11, 2015

I am using forms 9.2.0.908. Here is the field rule and the CSS as well.

Thanks

CSS.png
Hide Rule.png
CSS.png (25.26 KB)
Hide Rule.png (10.47 KB)
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.