Title: Change form html
Last modified: April 26, 2018

---

# Change form html

 *  Resolved [aimara76](https://wordpress.org/support/users/aimara76/)
 * (@aimara76)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/change-form-html/)
 * Hi
    First, I want to say that you guys have a wonderful plugin. I’m trying to
   change the form so I can show just all my list in a dropdown menu. When user 
   is logged can choose in which list to subscribe. My problem is that I want to
   add some tags before and after each label/input and send the user email like 
   an hidden input. I used the filter mc4wp_form_before_fields and mc4wp_form_after_fields
   but how their names say it add my code before and after “all” the labels/inputs
   and not between them. Can I do that with another filter or is it impossible with
   your plugin?? What I have:
 * <label>
    <input name=”_mc4wp_lists[]” value=”xxxxxxx” type=”checkbox”><span>List
   2</span> </label> <label> <input name=”_mc4wp_lists[]” value=”xxxxxxx” type=”
   checkbox”> <span>List 1</span> </label>
 * What I want
    -  <div>
       <input name=”_mc4wp_lists[]” value=”xxxxxxx” type=”checkbox”> </div
      > <span>List 1</span>
    -  <div>
       <input name=”_mc4wp_lists[]” value=”xxxxxx” type=”checkbox”> </div
      > <span>List 2</span>

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

 *  Plugin Contributor [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/change-form-html/#post-10223801)
 * Hi,
 * Instead of using the filters I suggest to simply change the HTML directly in 
   the form editor, under Mailchimp for WP > Form. It should allow any HTML code.
 * Hope that helps. If you have any questions, please let us know!
 *  Thread Starter [aimara76](https://wordpress.org/support/users/aimara76/)
 * (@aimara76)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/change-form-html/#post-10238124)
 * hi!
    I saw I can change the html in the admin panel but my problem is that users
   need to have the capability to change the list at any time so I will lost all
   my changes if they reset the form code
 *  Plugin Contributor [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/change-form-html/#post-10241736)
 * I’m not sure what you mean with that. How could a visitor change the form’s html
   code??!
 * We have a button above the form editor to insert list choice, it will overwrite
   the default list you’ve set in settings.
    Under Form > Settings you can set it
   to update the contact information if the user submits the form for the second
   time.
 * I think you should use interest groups instead of lists though.
 * Hope that helps. If you have any questions, please let us know!

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

The topic ‘Change form html’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Lap](https://wordpress.org/support/users/lapzor/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/change-form-html/#post-10241736)
 * Status: resolved