Home › Forums › Quform WordPress › Hide Group when group is empty
- This topic has 4 replies, 2 voices, and was last updated 1 month ago by
Icemanmx.
- AuthorPosts
- October 26, 2023 at 9:53 pm #36122
Icemanmx
ParticipantHello
I have a form what have group parts 10 of them, and they don´t need to be filled out every time, only if they need 10. So what happens is that in my custom email script it prints out all 10 even the empty ones. Is it anyway to hide empty groups, this is for saving paper and toner when printing.Best Regards
IcemanmxAttachments:
You must be logged in to view attached files.October 27, 2023 at 8:48 am #36126Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- This reply was modified 1 month ago by
Ally.
October 28, 2023 at 3:02 am #36128Icemanmx
ParticipantHi
It is hiding the group when empty, but it is still hiding it when i fill it out. So how can this code know when something is filled out?The partida uno will never be empty so i leave it like it was, but from partida dos to partida diez can be empty or filled out.
I give you a code snippet from partida dos i a file.
Thanks
Best REgards
Icemanmx- This reply was modified 1 month ago by
Icemanmx.
Attachments:
You must be logged in to view attached files.October 30, 2023 at 9:25 am #36139Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
October 30, 2023 at 4:54 pm #36144Icemanmx
ParticipantHello
You was right, i did not have any value on that field, it was the ID of the group and not a field…
So, i used your first code, and that function perfect when i use it on a field ID…Thanks again Ally
Best Regards
Icemanmx - This reply was modified 1 month ago by
- AuthorPosts
- You must be logged in to reply to this topic.