Hi Cris
Well I'm almost there but having problem hooking couple of things together
here's what i'm trying to do
On the signup page I have this:
- Code: Select all
<form id="s2member-pro-paypal-checkout-form" class="s2member-pro-paypal-form s2member-pro-paypal-checkout-form" method="post" action="what goes in here?">
<div style="margin-top: 12px;" class="jn_frm_lft_btn">
<div id="s2member-pro-paypal-checkout-form-email-div" class="s2member-pro-paypal-form-div s2member-pro-paypal-checkout-form-div s2member-pro-paypal-form-email-div s2member-pro-paypal-checkout-form-email-div">
<label for="s2member-pro-paypal-checkout-email" id="s2member-pro-paypal-checkout-form-email-label" class="s2member-pro-paypal-form-email-label s2member-pro-paypal-checkout-form-email-label">
<span>Email Address *</span><br />
<input aria-required="true" data-expected="email" type="text" maxlength="100" name="s2member_pro_paypal_checkout[email]" id="s2member-pro-paypal-checkout-email" class="s2member-pro-paypal-email s2member-pro-paypal-checkout-email" value="" tabindex="30" />
</label>
</div>
<input type="submit" id="s2member-pro-paypal-checkout-submit" class="s2member-pro-paypal-submit s2member-pro-paypal-checkout-submit" value="Submit Form" tabindex="510" />
The Code above will capture the email address and forward it to the registration form but I also have this on the signup page:
The code below i gave some values but not sure how to pass them to the original submit form
- Code: Select all
<label><input name="cascadeId" value="8000" checked="true" type="radio" />$4.95 - 3 DAY ACCESS</label>
<br>
<label><input name="cascadeId" value="8001" type="radio" />$15.95 - 30 DAYS MEMBERSHIP/Recurring <span style="color: darkorange; font-weight: bold;">[ SAVE 33% ]</span></label>
<br>
<label><input name="cascadeId" value="8002" type="radio" />$31.95 - 30 DAYS MEMBERSHIP [Non-Recurring]</label>
Now, how do I connect the first form to add what the visitor choose from the last form!!!
Now I know the action is not correct. What would be the correct setting for that
Then I am using the JS
- Code: Select all
<script type="text/javascript">
function get_radio_value()
{
for (var i=0; i < document.orderform.cascadeId.length; i++)
{
if (document.orderform.music[i].checked)
{
var rad_val = document.orderform.cascadeId[i].value;
}
}
}
</script>
I think i am missing the form action but I might be missing other things too
Thank you your help
Sam