Title: Conditional Group Tags
Last modified: September 28, 2018

---

# Conditional Group Tags

 *  Resolved [luremarketing](https://wordpress.org/support/users/luremarketing/)
 * (@luremarketing)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/conditional-group-tags/)
 * Hello, I’m building a form where I want several forms to appear when checkboxes
   are checked “yes”. I’ve got the conditional forms set but I can’t get the [/group]
   tags to stay. Once I save the form, the [/group] is removed, while the [group]
   tag remains. I want the two group tags to be in separate spots, which I think
   is what is messing it up. Ant suggestions?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-group-tags%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [luremarketing](https://wordpress.org/support/users/luremarketing/)
 * (@luremarketing)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10733842)
 * Here is a link to a screenshot that may help explain how I want the conditional
   group fields to work.
 * [https://www.dropbox.com/s/7qgem4uo6tjiwn1/Screen%20Shot%202018-09-28%20at%202.36.17%20PM.png?dl=0](https://www.dropbox.com/s/7qgem4uo6tjiwn1/Screen%20Shot%202018-09-28%20at%202.36.17%20PM.png?dl=0)
 * Is this possible?
 *  [dannyw99](https://wordpress.org/support/users/dannyw99/)
 * (@dannyw99)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10739330)
 * [@luremarketing](https://wordpress.org/support/users/luremarketing/), I had a
   similar problem trying to enter [/step] for the Simple Contact form 7 Wizard 
   Multisteps Form.
 * Try entering in the cell some plain text only like “Hello”, then save the form.
   Then you should be able to enter in your closing shorttag as the cell is then
   somehow changed to accept plain text.
 * It would be nice to have another way to do this. eg. As well as [select a field],
   provide a [plain text] option.
 *  Thread Starter [luremarketing](https://wordpress.org/support/users/luremarketing/)
 * (@luremarketing)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10764930)
 * Thanks Danny, didn’t work for me though. Anyone else have any suggestions?
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10886238)
 * [@luremarketing](https://wordpress.org/support/users/luremarketing/) apologies
   for answering so late, I just saw this thread.
    Did you solve your problem?
 * > Here is a link to a screenshot that may help explain how I want the conditional
   > group fields to work.
 * Don’t insert your group tags into field cell on the UI editor, but rather palce
   them directly in the html itself, in the text editor (see screenshot #5). Your
   forms would be encapsulated in `div.container` elements, you need to place your
   opening and closing group tags to encapsulate this div container. Hope that’s
   clear. Let me know if you have any luck.
 * An alternative approach to this problem is to use toggled sections, the fields
   within these sections are optional and not submitted if the section remains toggled,
   even these fields are marked as required. Toggle sections can also be grouped
   to have either/or scenarios (see faq #5)
 * Another point wrt to displaying multiple forms, are you aware that this plugin
   allows you to build a form using child forms (see screenshot #15)? this makes
   large form design/maintenance a lot easier. When you update a child form, it 
   automatically gets reflected on the front-end, without you requiring to edit 
   the parent form. Keep in mind that conditional [group] in child-forms are not
   recognised in the parent-form.
 *  [brettroby](https://wordpress.org/support/users/brettroby/)
 * (@brettroby)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10954357)
 * [@aurovrata](https://wordpress.org/support/users/aurovrata/), I am not sure where
   exactly to insert the [group] [/group] stuff. I’ve tried a number of different
   ways, but nothing seems to work.
 * Can you share a screenshot? I know you like screenshots. 🙂
 * ** UPDATE **
 * It looks like I may have figured it out!
    -  This reply was modified 7 years, 5 months ago by [brettroby](https://wordpress.org/support/users/brettroby/).
 *  [brettroby](https://wordpress.org/support/users/brettroby/)
 * (@brettroby)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10954605)
 * [@aurovrata](https://wordpress.org/support/users/aurovrata/)
 * ** UPDATE 2 **
 * OK, so when one goes to insert these customized tags as a workaround into the“
   plain text” module and then saves, the way that this plugin operates gets all
   messed up. It seems to break the functionality of the plugin for the particular
   form. It’s hard to describe, but basically Grid/Text view tab get broken, and
   then neither one is selectable. It also breaks the WordPress “update” button.
 * On one of the forms I was using while testing this out, there was an error that
   indicated that I had more than one form control in a single label element, but
   I actually didn’t; it’s just that when you save a module as a plain text module,
   other modules also change themselves and then all sorts of stuff goes haywire,
   including the stuff I mentioned in the previous paragraph where the Grid/Text
   view tab is broken and the “update” button doesn’t work. It’s quite bizarre behavior
   all around. Not really a sustainable usage model for sure.
 * I am most likely doing something wrong, so if there’s any insight into this, 
   that would be appreciated. I’d love to be able to use the conditional field option.
   As it is now, it is unusable and it has broken two forms that I’ve had to rebuild,
   which of course is frustrating and time-consuming.
 * Screenshot: [https://snag.gy/ROgBqe.jpg](https://snag.gy/ROgBqe.jpg)
    -  This reply was modified 7 years, 5 months ago by [brettroby](https://wordpress.org/support/users/brettroby/).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10959076)
 * In the text editor, wrap your cell content with your group elements. ([Screenshot](https://snag.gy/csQiqA.jpg))
 * …which has no impact on the [grid layout view](https://snag.gy/2F1huJ.jpg).
 *  [brettroby](https://wordpress.org/support/users/brettroby/)
 * (@brettroby)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10966778)
 * [@aurovrata](https://wordpress.org/support/users/aurovrata/), thank you. This
   seems to have done the trick for now.
 * I am getting the form all situation, and will share the link where embedded when
   complete.
 * I appreciated the support.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Conditional Group Tags’ is closed to new replies.

 * ![](https://ps.w.org/cf7-grid-layout/assets/icon-256x256.png?rev=1834229)
 * [Smart Grid-Layout Design for Contact Form 7](https://wordpress.org/plugins/cf7-grid-layout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-grid-layout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-grid-layout/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-grid-layout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-grid-layout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-grid-layout/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [brettroby](https://wordpress.org/support/users/brettroby/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/conditional-group-tags/#post-10966778)
 * Status: resolved