Created
December 14, 2020 22:22
-
-
Save salsalabs/3af3be34e98ee6c0481a92e275924ad3 to your computer and use it in GitHub Desktop.
Put "content after submit button" after the submit button in a client signup page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- SalsaStaff 373827: BEGIN Position privacy statement below submit button. --> | |
<div class="formRow" id="post-submit"> | |
Roots Action considers your contact information to be private and confidential. We will NOT disclose it to any other | |
entity unless you specifically authorize us to do so. You can read our privacy policy in its entirety | |
<a href="http://www.rootsaction.org/privacy-policy"> here</a>. | |
</div> | |
<script type="text/javascript"> | |
$(document).ready(() => { | |
var diaFields = $('input[name=Email]').parent().parent(); | |
var submit = $('#submitSignup'); | |
submit.css("margin", "10px 0 0 40%"); | |
var submitParent = submit.parent(); | |
var postSubmit = $('#post-submit'); | |
diaFields.append(submitParent); | |
diaFields.append(postSubmit); | |
}); | |
</script> | |
<style type="text/css"> | |
/* Center the submit button. */ | |
#submitSignup { | |
float: left; | |
margin: 10px 0 0 40%; | |
} | |
/* A bit of padding between the submit button and the privacy statement. */ | |
#post-submit { | |
padding-top: 2em; | |
} | |
</style> | |
<!-- SalsaStaff 373827: END Position privacy statement below submit button. --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment