2 of 2
2
custom checkbox field in registration
Posted: 27 February 2008 10:16 AM   [ Ignore ]   [ # 19 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23537
Joined  05-20-2002

No- not stock.  Would be easy enough to write an extension for it.  On the plus side- they shouldn’t get duplicates, as EE checks for that if you select two groups.  Still- I’d say go for the extension, as it kinda makes sense to clear them out.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 27 February 2008 11:13 AM   [ Ignore ]   [ # 20 ]  
Lab Assistant
RankRank
Total Posts:  134
Joined  08-22-2007

Thanks!

Profile
 
 
Posted: 03 July 2008 01:31 AM   [ Ignore ]   [ # 21 ]  
Grad Student
Rank
Total Posts:  33
Joined  03-01-2007

Hi Guys,
Thanks for the lovely solution to the problem
As mentioned in the post i too configured it with the default list id =1.
Now the member who registers goes into exp_mailing_list_queue correctly.
After i activate the user it does not show me in the mailing list.
Any Error with my DB tables ?  smile

Thanks,
Davmit

Profile
 
 
Posted: 15 July 2008 06:36 PM   [ Ignore ]   [ # 22 ]  
Grad Student
Avatar
Rank
Total Posts:  38
Joined  03-11-2007

If I want to allow visitors the option to choose from a small number of mailing lists, do I need to modify the code any?  I know typically to get checkboxes working in PHP you turn them into arrays:

<label><input type="checkbox" name="mailinglist_subscribe[]" value="1" /> List 1</label>
<
label><input type="checkbox" name="mailinglist_subscribe[]" value="2" /> List 2</label>

Do I need to do this, or will EE not be able to handle that?  If it won’t handle it, any advice on what syntax I should use?

Thanks!

 Signature 

Ian Beck
One Crayon :: Tagamac :: Beckism.com

Profile
 
 
Posted: 16 July 2008 11:03 AM   [ Ignore ]   [ # 23 ]  
Grad Student
Avatar
Rank
Total Posts:  38
Joined  03-11-2007

Through trial and error, I’ve discovered that mailinglist_subscribe[] does not work.  Nor does sticking in two inputs both named mailinglist_subscribe.  Is there any way for someone to subscribe to two (or more) mailing lists simultaneously from the user registration page?

 Signature 

Ian Beck
One Crayon :: Tagamac :: Beckism.com

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65011 Total Logged-in Users: 51
Total Topics: 82079 Total Anonymous Users: 47
Total Replies: 441119 Total Guests: 309
Total Posts: 523198    
Members ( View Memberlist )