Single protected button for selection of level
Posted: August 26th, 2011, 8:50 am
Is there a way to use a single protected button (encrypted / hosted) to provide for the selection of membership level, vs. options within a given membership level?
I've read through the thread... viewtopic.php?f=36&t=309#p1342
I'd like to be able to set the item_number in that case, which I can do for unprotected buttons (unencrypted / non-hoste), snippet here...
Is it possible to do this in concept for protected buttons (encrypted / hosted) without having one button for each level?
I've read through the thread... viewtopic.php?f=36&t=309#p1342
I'd like to be able to set the item_number in that case, which I can do for unprotected buttons (unencrypted / non-hoste), snippet here...
- Code: Select all
<input type="hidden" id="item_number" name="item_number" value="1">
<table>
<tr><td style="vertical-align: bottom"><select name="os0" onchange="document.getElementById('item_number').value = this.options[this.selectedIndex].id;">
<option id="1" value="Bronze">Bronze : $1.99USD - monthly</option>
<option id="2" value="Silver" selected="selected">Silver : $2.99USD - monthly</option>
<option id="3" value="Gold">Gold : $3.99USD - monthly</option>
</select></td><td style="vertical-align: bottom"><a href="#" onclick="formSubmit();"><img src="https://www.paypal.com/en_US/i/btn/btn_subscribe_SM.gif"></a></td></tr>
</table>
Is it possible to do this in concept for protected buttons (encrypted / hosted) without having one button for each level?