Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same question, and I’d love to know.

    Thanks for your help!

    Bump.

    Thread Starter a204801

    (@a204801)

    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

    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.