Author |
Topic |
|
katana1100
USA
22 Posts |
Posted - May 04 2007 : 15:59:00
|
Nigel,
Is there any way that a future release would allow the user to sign up for multiple groups using a web form? The only way that I see to do it now would be to list every possible combination of groups separated by commas. We have 7 groups, so unless my math is off that provides 823,543 possible combinations. A few too many for a drop down list. Below is the form that we have. Right now it enrolls them in the default group, and then I have to manually enroll them in any other groups marked "Yes."
Thanks, Rick
Sample Web Form**************************** The form at the following URL was submitted:
http://www.reiaofoakland.com/subscribe.html
This is the data that was submitted:
Name: Susie Que E-mail: example@hotmail.com Action: Subscribe First Name: Susie Last Name: Que Company Name: Summit Realty Address: PO Box 1440 City: Sunnyville State: MI Zip: 48311 Phone: 248.555.1212 Subscribe to the General Discussion group: yes Subscribe to the Short Sales discussion group: no Subscribe to the Landlording discussion group: yes Subscribe to the Rehabbing discussion group: yes Subscribe to the Foreclosures discussion group: no Subscribe to the "Have Want" discussion group: no Subscribe to the City Government Issues discussion group: yes Deliver Member Newsletter by: Email Special Offers: yes |
|
justuspost
USA
71 Posts |
Posted - May 04 2007 : 16:03:24
|
LOL
In short... you would only want to pass the value of the group.
so.. lets say a b c d e f g
if they want a d g then you only need to tell MLK
group=a,d,g,
This is easy to do in a script and you dont need to tell MLK the combination. You can use the UpdateUserGroups action to do this. If you need more info on this, feel free to reply here to PM /e-mail me.
Justus |
|
|
katana1100
USA
22 Posts |
Posted - May 04 2007 : 16:20:37
|
Justus,
The hitch here is that I must use a form building template and am unable to modify the code or add scripts. This website is for a non-profit group and they want the website to be maintainable by the non-techie members if necessary. Because of this, it is hosted at Citymax which provides templates for just about every type of page you can imagine, including a "web form" page. So, the only thing that I can do is add or delete: Check boxes Text fields Drop Downs Radio buttons
Unfortunately the Drop-downs don't allow multiple selection, and relying on the user to type the list of wanted groups in a text box is a nightmare because they typo, mis-spell, forget commas, etc. Our users are real estate investors and most aren't very tech savy or keyboard skilled.
Any other way around this that you see? |
|
|
ILH
Canada
120 Posts |
Posted - May 05 2007 : 13:13:37
|
katana1100,
As long as your web service allows you to add endless check boxes, just make sure that each check box has the same name, namely "group", then if the person checks more than one box, the values should be sent back as group=a,b,c etc.
The trick is to make sure that the name of the check boxes is always "group" - as the default name applied each time you add a new check box may be different. For instance, in FrontPage, unless you manually fix it, each new checkbox would be added as name=group, name=group1, name=group2, etc.
Always test your page before letting your subscribers do it for you!
-- Ian Hubling ian@hubling.com |
|
|
justuspost
USA
71 Posts |
Posted - May 11 2007 : 18:46:58
|
Sorry I didn't get back to you so quickly, but..
You will need to set up check boxes regardless. The name of the check box (in its properties) will need to be the exact name of the group. You can label the check box anything you would like, just as long as the value that is passed to the script is the exact same as the MLK group name.
I wrote my own script, but I have it to where if all of them are unchecked, then it sends an unsunscribe request. If you use the correct action, then when they 'subscribe' to 1 group, then it will add them to that group and removed them from all others. (good idea to be aware of this).
If ya need anything else, let me know.
Justus |
|
|
|
Topic |
|
|
|