latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

make visa default radio button selected

Home Forums Community Forum make visa default radio button selected

This topic contains 1 reply, has 2 voices. Last updated by  Raam Dev 4 years, 9 months ago.

Topic Author Topic
Posted: Wednesday Apr 11th, 2012 at 1:53 pm #10592
Mike Waller
Username: seozones

How would I make it so that Visa payment method is preselected on the cart page. With that, the form fields for Visa would also open up. Any ideas on how to do that?

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Wednesday Apr 11th, 2012 at 10:05 pm #10622
Raam Dev
Username: Raam
Staff Member

Hi Mike,

Right after the Pro-Form shortcode (it must go after the shortcode, otherwise it won’t work), you can add the following JavaScript:

<script type="text/javascript">
<!-- 
document.getElementById('s2member-pro-paypal-checkout-card-type-visa').checked = true;
// -->
</script>
Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.