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

Question

Question

hide unchecked checkbox

asked two days ago

Hello,


What is the best way to hide checkbox values that are not checked when saving a form to the repository? My form has over 100 fields. 

Thank you! 

0 0

Replies

replied two days ago Show version history
@media print {
  /* Only hides the span on the printed page */
  .fl-component.checkbox 
  span.option:has(input:not(:checked)) {
      display: none;
  }
}

 

1 0
replied two days ago

I still can't get this to work correctly. I added the script to CSS on the form, but the checkboxes are still showing when saving to the repository. I am on self-hosted Professional Version 12.0.2509.20409.

 

Thank you! 

0 0
replied two days ago Show version history

Oops I accidentally did it backwards (hide the ones that were selected). Can you try again? I fixed my original post

0 0
replied two days ago

Thank you, but all of the checkboxes, checked and unchecked, are still showing. Do I need to do anything specifically in the Save to Repository task?

 

 

0 0
replied two days ago

Hmm that is weird, I guess css print media queries don't work in self-hosted. I'll check with the team

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

Sign in to reply to this post.