Follow

Changing the behavior of the Cancel button on membership applications

Normally, when a visitor clicks the Cancel button from the membership application form, they are returned to your Wild Apricot site's homepage. If you want to direct them to a different location, follow these steps.

  1. Go to Settings then click Global JavaScript (under Site settings).
  2. Copy and paste the following code:
    <script> $('.WaGadgetMembershipApplication .navigationContainer input[type=button][value=Cancel]').click(function(){ Page_ValidationActive = false; location.href = "redirect_page_url"; }); </script>
  3. Change redirect_page_url to the complete URL of the page you want to direct them to when they click Cancel.
    For example:
    <script> $('.WaGadgetMembershipApplication .navigationContainer input[type=button][value=Cancel]').click(function(){ Page_ValidationActive = false; location.href = "https://stevelivetestsite.wildapricot.org/events"; }); </script>
  4. Click Save.

0 Comments

Please sign in to leave a comment.

Search: WildApricot.com 

About results ( seconds) Sort by: 
Sorry, an error occured when performing search.