PDA

View Full Version : Subscribe2 Form maker questions


Siamese-Dream.Com
04-04-06, 12:00 AM
Hey everyone,

I have an HTML form question that is driving me up the wall.

I am using Subscribe2 Pro with multiple mailing lists.

By default, it uses form inputs with CHECKBOXES so that people can sign up for multiple mailing lists.

I would like to change it to RADIO BUTTONS so that they can only subscribe to one list at a time.

But I am having problems figuring out what to name the RADIO BUTTONS so that they will send the right value.

Here is the form using CHECKBOXES. If someone could take a look and let me know how to change it to RADIO buttons, that would be greatly appreciated:

<FORM ACTION="http://www.siamese-dream.com/subscribe2/index.mvc?" METHOD="POST">
<INPUT TYPE="hidden" NAME="subscribe_task" VALUE="subscribe">
<INPUT TYPE="hidden" NAME="subscribe_action" VALUE="process_action">
<INPUT TYPE="hidden" NAME="subscribe_method" VALUE="Manual">
<INPUT TYPE="hidden" NAME="multiplelists" VALUE=1>
<b>Newsletter - Get Discounts and Updates<br>
</b>Enter Your Email Address:
<INPUT TYPE="TEXT" NAME="subscribe_email" SIZE=20>
<BR>
<INPUT TYPE="checkbox" NAME="L[1]" CHECKED> All Items
<INPUT TYPE="checkbox" NAME="L[2]" > Just Clothing & Fashion
<INPUT TYPE="checkbox" NAME="L[3]" > Just Spiritual & Religious Items<BR>
<INPUT TYPE="submit" VALUE=" Subscribe ">
</FORM>

Thanks in advance,

dotCOM_host
04-04-06, 08:59 AM
Mark,

This should be quite easy actually - following standard HTML coding. Replace this:

<INPUT TYPE="checkbox" NAME="L[1]" CHECKED>

with this:

<INPUT TYPE="radio" NAME="L[1]" CHECKED>

and so forth for each list...

The CHECKED option should be only set on the default mailing list you want pre-selected, otherwise leave it out completely to force a selection.

Vic - WolfPaw Computers
04-04-06, 09:03 AM
In fact, to be compliant with many hosts terms of service and require the customer opt in, you should NOT pre-check the subscribe checkbox already.

Makes it too easy for customers to click on next and sign up when they did not make the conscious effort to do so - thus resulting in later spam complaints.

Siamese-Dream.Com
04-04-06, 07:57 PM
Hi there, Dot Com Hosts:

Thanks for your reply.

maybe I am doign something wrong, but when I follow your example:

<INPUT TYPE="radio" NAME="L[1]" CHECKED>List #1

<INPUT TYPE="radio" NAME="L[2]" >List #2

<INPUT TYPE="radio" NAME="L[3]" >List #3

It allows all THREE to be checked. It treats them as three separate entities, meaning if L[1] is checked, and then I check L[2], L[1] is STILL CHECKED (and L[2] is now checked as well.)

Likewise, checking L[3] will NOT UNCHECK either L[1] or L[2]

As far as I understand forms, they would all have to be named the same thing (such as all three named L[1] or all three named LIST or something), with a VALUE of L[1] for the first radiobutton, a VALUE of L[2] for the second, a VALUE of L[3] for the third, etc...

Example:

<INPUT TYPE="radio" NAME="LIST" VALUE="L[1] CHECKED>List #1

<INPUT TYPE="radio" NAME="LIST" VALUE="L[2] >List #2

<INPUT TYPE="radio" NAME="LIST" VALUE="L[3] >List #3

At least that is what I THOUGHT, However I STILL can't get that to work either...

Maybe I need to know what the NAME element should be???

any suggestions would be GREATLY appreciated.

Because Subscribe2 Pro is at an End of Life Sale, they are not providing ANY tech support for it. I wish I would have known that BEFORE I BOUGHT IT, since I probably would have picked a different mailing list software.

dotCOM_host
04-04-06, 08:35 PM
Try this:

<FORM ACTION="http://www.siamese-dream.com/subscribe2/index.mvc?" METHOD="POST">
<INPUT TYPE="hidden" NAME="subscribe_task" VALUE="subscribe">
<INPUT TYPE="hidden" NAME="subscribe_action" VALUE="process_action">
<INPUT TYPE="hidden" NAME="subscribe_method" VALUE="Manual">
<INPUT TYPE="hidden" NAME="multiplelists" VALUE=1>
<b>Newsletter - Get Discounts and Updates<br>
</b>Enter Your Email Address:
<INPUT TYPE="TEXT" NAME="subscribe_email" SIZE=20>
<BR>
<INPUT type="radio" name="R1" value="L[1]" CHECKED> All Items
<INPUT type="radio" name="R1" value="L[2]" > Just Clothing & Fashion
<INPUT type="radio" name="R1" value="L[3]" > Just Spiritual & Religious Items<BR>
<INPUT TYPE="submit" VALUE=" Subscribe ">
</FORM>

Siamese-Dream.Com
04-05-06, 04:45 AM
Hi again, Remik:

Thanks for your help. Unfortunately, that doesn't work either. No matter which radio button I select, the email is added to the generic catch all list.

But what really burns me up is that the Subscribe2 Integration module doesn't seem to work with Subscribe2 Pro at all?!?!?! (See other thread I am starting).

Thanks again,

Mark