Closed (fixed)
Project:
Mailchimp
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2009 at 13:29 UTC
Updated:
28 Sep 2009 at 16:40 UTC
Hi all,
Here is a small patch that maps Dropdown et Radios from MailChimp to Drupal FormAPI. With that newsletter subscription form displays nice widgets.
i.e. : no more textfield input when telling MailChimp form builder to render a dropdown.
I also added a test condition so that hidden fields (from MailChimp) renders hidden fields in Drupal.
Unfortunaltely, the MailChimp date input can't be supported easily for now.
Last, I just made a small modification to form validate, which was letting me subscribe to a newsletter even if I did not checked the box (the small '1' added).
Look at the patch.
Thank you guys!
Jérémy
| Comment | File | Size | Author |
|---|---|---|---|
| mailchimp-Drupal-FormAPI-6.diff | 3.05 KB | jchatard |
Comments
Comment #1
jchatard commentedgrr, patch just takes a 'C'.
Comment #2
levelos commentedNice patch, applied. Needs some review. Also might want to add an switch for dates. Note applied to 6.x-2.x-dev
Comment #3
levelos commented