Title: Custom button and close group
Last modified: December 8, 2020

---

# Custom button and close group

 *  Resolved [janwill](https://wordpress.org/support/users/janwill/)
 * (@janwill)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/custom-button-and-close-group/)
 * Hi, sorry for my english. I will do my best 🙂
    Is it possible to close a group
   by click on a custom button?
 * I have in a group a button -> a href class…
 * So if the user click on the button, I want to close the group..
 * thx for help
 * janwill

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/custom-button-and-close-group/#post-13760288)
 * You could use the toggle-button (included in CF7 Pro) for that. [https://conditional-fields-cf7.bdwm.be/togglebutton/](https://conditional-fields-cf7.bdwm.be/togglebutton/)
 * Or you could also simply style a checkbox like a button. [https://bdwm.be/contact-form-7-toggle-buttons/](https://bdwm.be/contact-form-7-toggle-buttons/)
 *  Thread Starter [janwill](https://wordpress.org/support/users/janwill/)
 * (@janwill)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/custom-button-and-close-group/#post-13766826)
 * Thx for the answer THUMP UP
 * Furthermore, is it possible NOT to close the group by click on the submit button?
   
   I have the submit button IN the group and by click the group is closed, so I 
   can`t see the Success box…
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/custom-button-and-close-group/#post-13782180)
 * you can add the response text wherever you like with [response]
 * [https://contactform7.com/locating-response-message-box-anywhere/](https://contactform7.com/locating-response-message-box-anywhere/)
 *  Thread Starter [janwill](https://wordpress.org/support/users/janwill/)
 * (@janwill)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/custom-button-and-close-group/#post-13782616)
 * Yes, I know but the issues is, that I have a few conditional logics (opened like
   a accordion) so my site is very “long”. After click the submit button the logics
   close the accordion outside the viewport. The RESPONSE-Area is outside the viewport…
 * I hope you unbterstand my english 🙁
 * thx janwill
    -  This reply was modified 5 years, 6 months ago by [janwill](https://wordpress.org/support/users/janwill/).
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/custom-button-and-close-group/#post-13881183)
 * Maybe this helps? [https://stackoverflow.com/questions/53797420/scroll-to-success-field-in-contact-form-7-wordpress](https://stackoverflow.com/questions/53797420/scroll-to-success-field-in-contact-form-7-wordpress)

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

The topic ‘Custom button and close group’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/custom-button-and-close-group/#post-13881183)
 * Status: resolved