Body: <p>Is there a way to hide empty fields or field sets in a webform? The preview page shows everything single field and I have a lot of them!</p>
  
  <p>regards,</p>
  
  <p>Guillaume</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-06T19:40:17.453Z
Comments.Text: i don't quite follow. When you Preview a webform why should it not show all the fields?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-08T11:41:41.717Z
Comments.Text: because some are empty. I offer the possibility to register a lot of contacts for those who need. Some owner need to register 3 sub-organizations and others 15. It goes up to 24 sub-organizations if needed! I used the webform "Add more" module. It works fine but by the preview, it shows all empty fields. You can have a look here: https://cnec.gestad.net/adhesion
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-08T20:34:09.347Z
Comments.Text: see if the same behaviour happens purely with webform ie without civicrm fields - if so this is a pure webform issue
Comments.UserDisplayName: petednz - fuzion
Tags: <webform-civicrm>
Title: Hide empty fields in webform's preview page
ThreadText: # Hide empty fields in webform's preview page
  
  (Asked by: username_0 on 2020-05-06)
  
  Is there a way to hide empty fields or field sets in a webform? The preview page shows everything single field and I have a lot of them!
  
  regards,
  
  Guillaume
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: i don't quite follow. When you Preview a webform why should it not show all the fields?  
  > **username_0**: because some are empty. I offer the possibility to register a lot of contacts for those who need. Some owner need to register 3 sub-organizations and others 15. It goes up to 24 sub-organizations if needed! I used the webform "Add more" module. It works fine but by the preview, it shows all empty fields. You can have a look here: https://cnec.gestad.net/adhesion  
  > **username_1**: see if the same behaviour happens purely with webform ie without civicrm fields - if so this is a pure webform issue  
  
  ---
  
  ## 0 answers
  
  