Title: Hidden Fields?
Last modified: August 21, 2016

---

# Hidden Fields?

 *  [a204801](https://wordpress.org/support/users/a204801/)
 * (@a204801)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/hidden-fields-1/)
 * I have ‘list fields’ that I don’t want to appear in the form visually, but I 
   want to give them a default value when they are submitted. Basically I have a
   lead source field that I want to populate from this site, but don’t want user
   to see value. Can this be done?
 * [http://wordpress.org/extend/plugins/mailchimp/](http://wordpress.org/extend/plugins/mailchimp/)

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

 *  [sethpartridge](https://wordpress.org/support/users/sethpartridge/)
 * (@sethpartridge)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/hidden-fields-1/#post-3926190)
 * I have the same question, and I’d love to know.
 * Thanks for your help!
 * Bump.
 *  Thread Starter [a204801](https://wordpress.org/support/users/a204801/)
 * (@a204801)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/hidden-fields-1/#post-3926191)
 * I ended up just editing the source code in ‘mailchimp_widget.php’ as follows:
 *     ```
       <div id="mc_signup">
       	<form method="post" action="#mc_signup" id="mc_signup_form">
       		<input type="hidden" id="mc_submit_type" name="mc_submit_type" value="html" />
       		<input type="hidden" name="mcsf_action" value="mc_submit_signup_form" />
               <input type="hidden" name="mc_mv_XXXXX" id="mc_mv_XXXXX" value="XXXXX"/>
       		<input type="hidden" name="mc_mv_XXXXX" id="mc_mv_XXXXX" value="XXXXX"/>
       		<?php wp_nonce_field('mc_submit_signup_form', '_mc_submit_signup_form_nonce', false); ?>
       ```
   
 * _[Please post code & markup between backticks or use the code button. Your posted
   code may now have been permanently damaged by the forum’s parser.]_
 * Where the X’s are, I used the proper list fields and the value I wanted passed
   in.
 * Hope that helps.
 *  -Mac
 *  [mc_tak](https://wordpress.org/support/users/mc_tak/)
 * (@mc_tak)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/hidden-fields-1/#post-3926238)
 * Hey there,
 * Thanks for posting. I’m afraid that the plugin form doesn’t provide a means of
   adding hidden, pre-filled form fields, from within the plugin’s settings. To 
   accomplish that, you’ll need to edit the plugin code as you did above. For any
   readers that may be hesitant to delve into editing the plugin’s code, an alternative
   would be to consider using MailChimp’s embed code instead, which will be just
   the HTML of your list’s signup form. Similarly, you’d want to add type=”hidden”
   into your input fields and define the hard-coded value as well.
 * Thanks again for the post Mac.

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

The topic ‘Hidden Fields?’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp/assets/icon.svg?rev=3156997)
 * [Mailchimp List Subscribe Form](https://wordpress.org/plugins/mailchimp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [mc_tak](https://wordpress.org/support/users/mc_tak/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/hidden-fields-1/#post-3926238)
 * Status: not resolved