Skip to content

Instantly share code, notes, and snippets.

@paulmorriss paulmorriss/bboxtweakform
Last active Aug 29, 2015

Embed
What would you like to do?
Blackbaud Online Express tweak donation form
<script type="text/javascript">
/* See http://manypies.paulmorriss.com/2014/09/online-express-third-post.html for explanation of this.
** waitUntilExists comes from here: https://gist.github.com/buu700/4200601 */
/* Put this after the BBOX code to embed the form */
$("input#bboxdonation_btnSubmit").waitUntilExists(function() {
/* Set the posttown prompt on the BBOX donations forms*/
if ($('#bboxdonation_billing_billingAddress_txtUKCity').length != 0) {
$('#bboxdonation_billing_billingAddress_txtUKCity').attr('placeholder','Posttown');
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.