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>
-
<div>
- The topic ‘Change form html’ is closed to new replies.