LuminateExtend for Designated Giving
Here is the section that's set up for the designee dropdown. Any thoughts on where I'm going wrong?
Designate your gift:
<select name="designee.id">
<option value="1001">Where Needed Most</option>
<option value="1002">Krause Children's Center</option>
<option value="1003">New Life Children's Center</option>
<option value="1004">Foster In Texas</option>
<option value="1005">BeREAL</option>
<option value="1006">Adoption</option>
</select>
Comments
-
You must pass a combination of two parameters "designated.X.id" and "designated.X.amount" where the "X" part of the parameter names to identify ID and amount pairs.
In your example, rename the dropdown field name to "designated.1.id" and as long as you have one designation, the second parameter will be "designated.1.amount" with the donation selected amount.2 -
Romany Nassief:
You must pass a combination of two parameters "designated.X.id" and "designated.X.amount" where the "X" part of the parameter names to identify ID and amount pairs.
In your example, rename the dropdown field name to "designated.1.id" and as long as you have one designation, the second parameter will be "designated.1.amount" with the donation selected amount.Romany, thanks for your reply! Below is the code that I'm using for the giving levels, sustained giving option, and the dropdown for the designated giving. I'm pretty sure I understood where the 'designated.1.id' goes and I added that in. Since the giving levels already have a name="level_id", I'm not sure what you mean by "the second parameter will be 'designated.1.amount' with the donation selected amount.
<input class="radio" name="level_id" type="radio" value="2384" /><label>$500</label>
<input class="radio" name="level_id" type="radio" value="2385" /><label>$250</label>
<input class="radio" name="level_id" type="radio" value="2386" /><label>$100</label>
<input class="radio" name="level_id" type="radio" value="2387" /><label>$25</label>
<label><input id="level-other" class="radio" name="level_id" type="radio" value="2382" /> Other amount: </label>
<input id="other-amount" class="form-control" style="width: 170px;" disabled="disabled" name="other_amount" type="text" /></span>
<p style="margin-top: 6px;"><input id="sustaining_frequency" class="checkbox" name="sustaining.frequency" type="checkbox" value="monthly" /><label style="padding-left: 8px;"><strong>Make this a monthly gift.</strong></label></p>
<p>Designate your gift: <select name="designated.1.id">
<option value="1001">Where Needed Most</option>
<option value="1002">Krause Children's Center</option>
<option value="1003">New Life Children's Center</option>
<option value="1004">Foster In Texas</option>
<option value="1005">BeREAL</option>
<option value="1006">Adoption</option>
</select></p>
<input name="method" type="hidden" value="donate" />
<input name="form_id" type="hidden" value="1820" />
<input name="validate" type="hidden" value="true" />
<input name="sustaining.duration" type="hidden" value="0" />
The rest of the code (not shown) is just used for the credit card info, name/address info, email signup, and submit button. I hope I've made sense here. Thanks again for taking a look and pointing me in the right direction!
1 -
You will need to add designated.1.amount as a hidden field and then set its value equal to the donation amount.
======================
1) Add this hidden field:<input name="designated.1.amount" type="hidden" value="" />
2) Add data-amount attribute to your donation levels:<input class="radio" name="level_id" type="radio" value="2384" data-amount="500"/><label>$500</label>
<input class="radio" name="level_id" type="radio" value="2385" data-amount="250"/><label>$250</label>
<input class="radio" name="level_id" type="radio" value="2386"data-amount="100" /><label>$100</label>
<input class="radio" name="level_id" type="radio" value="2387" data-amount="25"/><label>$25</label>
<label><input id="level-other" class="radio" name="level_id" type="radio" value="2382" data-amount="other"/> Other amount: </label>
<input id="other-amount" class="form-control" style="width: 170px;" disabled="disabled" name="other_amount" type="text" /></span>
3) Use the following jQuery script that listen on level change to set designated.1.amount value:$('input[name="level_id"]').change(function() {
var currentValue = $(this).data('amount');
if (currentValue !== 'other') {
$('#other-amount').attr('disabled', 'disabled').removeAttr('name').val('');
$('input[name="designated.1.amount"]').val(currentValue);
} else {
$('#other-amount').removeAttr('disabled').attr('name', 'other_amount').focus();
$('input[name="designated.1.amount"]').val('');
}
});
$('input[name="other_amount"]').bind("keyup change", function() {
$('input[name="designated.1.amount"]').val(parseFloat($(this).val()));
});
======================
Please note: your shadow form should include either the Designated Giving Donation Level or Flexible Designated Giving Donation Level component.1 -
Wow, that's a lot more effort than I was expecting! Thanks so much for your help!
I'm not a Javascript guy (though I'm actively taking lessons now), but I think I understand all that you wrote and what it's doing. May I ask a question regarding your jQuery code that you wrote? The line: var currentValue = $(this).data('amount');, the data('amount') isn't familiar to me. I assume it's referencing the data-amount="500" we added to the gift levels, but the 'amount' doesn't seem to be referencing anything. I could be very wrong here, so let me know if I am
At any rate, I added in all the changes and did a test donation. The donation went through but my reports did not show the designation went through, nor did the autoresponder reciept. When I first added the jQuery, I put it in at the top, but got an error. So I moved it to just about the hidden field we added with the rest of the hidden fields. Does it need to be in a specific spot for it to execute properly; could that be why it didn't go through?
I'm also looking at the <select> code and wonder if something in there isn't right.
Anyway, thanks again for your help! I've been struggling with this for months but I feel like it's really close!0 -
Solid posts Romany!
Amount is the key to the data store on that input. Check out...
https://api.jquery.com/data/#data2
Edit: The mention of HTML5 data-* attribute is important. You can store lots of data on an html element using data-somekey="somevalue"
<input class="radio" name="level_id" type="radio" value="2384" data-amount="500" data-level="gold" />0 -
Brian Mucha:
Solid posts Romany!
Amount is the key to the data store on that input. Check out...
https://api.jquery.com/data/#data2
Edit: The mention of HTML5 data-* attribute is important. You can store lots of data on an html element using data-somekey="somevalue"
<input class="radio" name="level_id" type="radio" value="2384" data-amount="500" data-level="gold" />Ahh, that makes sense now. Thanks for sharing the link to that. I'm getting there, slowly, but I'm getting there!
0 -
You can include this script inline before the form HTML by surrounding it with <script></script> and it will be changed a little to be like that:
<script>
$( document ).ready(function() {$('input[name="level_id"]').change(function() {
var currentValue = $(this).data('amount');
if (currentValue !== 'other') {
$('#other-amount').attr('disabled', 'disabled').removeAttr('name').val('');
$('input[name="designated.1.amount"]').val(currentValue);
} else {
$('#other-amount').removeAttr('disabled').attr('name', 'other_amount').focus();
$('input[name="designated.1.amount"]').val('');
}
});
$('input[name="other_amount"]').bind("keyup change", function() {
$('input[name="designated.1.amount"]').val(parseFloat($(this).val()));
});
});
</script>
Chris, please edit your donation form from Luminate admin and navigate to Design Donor Screens > Edit Donation Form - make sure Designated Giving Donation Level added in the right pane.0 -
Romany,
Yes, I had wrapped it in the <script> tags already, but I added the other line as well just now. I have the script above the hidden fields. I tried below also. Neither option is working right still. Thanks again for all your support! Not sure where to go from here.
As far as the Data Element, we do have a company that helped us set up our Luminate in the first place and he said I can achieve the giving options I'm after with the 'Single Gift Designation' and the 'Flexible Sustainer Donation Level' elements. See below. Also, I just realized I never gave a link to the live giving form as reference. https://www.upbring.org/give-now-test/
0 -
I just wanted to let you guys know that the form is working! Everything you suggested was correct and working the entire time. The API logs showed that the data was coming through correctly. The issue ended up being the data elements that were being used. For some reason, they didn't work properly. We switched them out with a different one and the designated info showed up in the reports.
Thanks for all your help!2 -
Chris Ayres:
I just wanted to let you guys know that the form is working! Everything you suggested was correct and working the entire time. The API logs showed that the data was coming through correctly. The issue ended up being the data elements that were being used. For some reason, they didn't work properly. We switched them out with a different one and the designated info showed up in the reports.
Thanks for all your help!
Can someone confirm that the ghost form "Giving Pattern" has to be either the "Designated Giving Donation Level" or the "Flexible Designated Giving Donation Level" and not the "Standard Donation Level" in conjunction with the "Single Gift Designation" element? We are hoping that there is an API solution that we have overlooked that will allow us to simply add the "Single Gift Designation" element to the ghost form without having to rework its Giving Pattern.
Thanks much!0 -
Daniel Krumm:
Hello -
Can someone confirm that the ghost form "Giving Pattern" has to be either the "Designated Giving Donation Level" or the "Flexible Designated Giving Donation Level" and not the "Standard Donation Level" in conjunction with the "Single Gift Designation" element? We are hoping that there is an API solution that we have overlooked that will allow us to simply add the "Single Gift Designation" element to the ghost form without having to rework its Giving Pattern.
Thanks much!
Daniel, I believe we had the Standard Donation Level and the Single Gift Designation elements at first, and that didn't work for us. I'm currently using the "Designated Giving Donation Level" option. That allows us to have preset giving levels, and Other Amount level, and designated giving.
It's supposed to have sustained giving as well, though I'm currently troubleshooting that since it's not working like I thought it was. Or maybe it is... I just posted about it this morning on this thread, if that interests you any. https://community.blackbaud.com/forums/viewtopic/1/34112?post_id=127233#p127233
Our giving form is at upbring.org/give if you'd like to see what we have working under the "Designated Giving Donation Level" option.0 -
Thanks for the response, Chris.
Have a great day!
Dan Krumm0 -
Romany Nassief:
You must pass a combination of two parameters "designated.X.id" and "designated.X.amount" where the "X" part of the parameter names to identify ID and amount pairs.
In your example, rename the dropdown field name to "designated.1.id" and as long as you have one designation, the second parameter will be "designated.1.amount" with the donation selected amount.Does this mean that the only option is to use the Designated Giving Donation Level as opposed to the single gift designation with the standard donation level option?
0 -
"Does this mean that the only option is to use the Designated Giving Donation Level as opposed to the single gift designation with the standard donation level option? "
Brandy, that's the way I understand it. It didn't work for me until I switched to the Designated Giving Donation Level.0 -
Thanks! I'd love to know if anyone from Blackbaud can say for sure before I have to go in and redo a stockpile of forms.0
-
Brandy Reppy:
Thanks! I'd love to know if anyone from Blackbaud can say for sure before I have to go in and redo a stockpile of forms.You will have to update the level unfortunately -- I just tested and confirmed that things don't work as expected if you use the Standard Donation Level and Single Gift Designation elements on your shadow form. If you process a donation to a form with the Standard Donation Level and Single Gift Designation using the designated.X.id and designated.X.amount parameters, the interaction shows that while the designee was recorded, the gift still is set to "Use my gift where it is needed most." This is because the API has no option for toggling from this option to a specific designee, as you can on the shadow form with a radio button.
0 -
Ugh - alright, thanks for letting me know.0
Categories
- All Categories
- Shannon parent
- shannon 2
- shannon 1
- 21 Advocacy DC Users Group
- 14 BBCRM PAG Discussions
- 89 High Education Program Advisory Group (HE PAG)
- 28 Luminate CRM DC Users Group
- 8 DC Luminate CRM Users Group
- Luminate PAG
- 5.9K Blackbaud Altru®
- 58 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 409 bbcon®
- 2.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- donorCentrics®
- 1.1K Blackbaud eTapestry®
- 2.8K Blackbaud Financial Edge NXT®
- 1.1K Blackbaud Grantmaking™
- 527 Education Management Solutions for Higher Education
- 1 JustGiving® from Blackbaud®
- 4.6K Education Management Solutions for K-12 Schools
- Blackbaud Luminate Online & Blackbaud TeamRaiser
- 16.4K Blackbaud Raiser's Edge NXT®
- 4.1K SKY Developer
- 547 ResearchPoint™
- 151 Blackbaud Tuition Management™
- 61 everydayhero
- 3 Campaign Ideas
- 58 General Discussion
- 115 Blackbaud ID
- 87 K-12 Blackbaud ID
- 6 Admin Console
- 949 Organizational Best Practices
- 353 The Tap (Just for Fun)
- 235 Blackbaud Community Feedback Forum
- 55 Admissions Event Management EAP
- 18 MobilePay Terminal + BBID Canada EAP
- 36 EAP for New Email Campaigns Experience in Blackbaud Luminate Online®
- 109 EAP for 360 Student Profile in Blackbaud Student Information System
- 41 EAP for Assessment Builder in Blackbaud Learning Management System™
- 9 Technical Preview for SKY API for Blackbaud CRM™ and Blackbaud Altru®
- 55 Community Advisory Group
- 46 Blackbaud Community Ideas
- 26 Blackbaud Community Challenges
- 7 Security Testing Forum
- 3 Blackbaud Staff Discussions
- 1 Blackbaud Partners Discussions
- 1 Blackbaud Giving Search™
- 35 EAP Student Assignment Details and Assignment Center
- 39 EAP Core - Roles and Tasks
- 59 Blackbaud Community All-Stars Discussions
- 20 Blackbaud Raiser's Edge NXT® Online Giving EAP
- Diocesan Blackbaud Raiser’s Edge NXT® User’s Group
- 2 Blackbaud Consultant’s Community
- 43 End of Term Grade Entry EAP
- 92 EAP for Query in Blackbaud Raiser's Edge NXT®
- 38 Standard Reports for Blackbaud Raiser's Edge NXT® EAP
- 12 Payments Assistant for Blackbaud Financial Edge NXT® EAP
- 6 Ask an All Star (Austen Brown)
- 8 Ask an All-Star Alex Wong (Blackbaud Raiser's Edge NXT®)
- 1 Ask an All-Star Alex Wong (Blackbaud Financial Edge NXT®)
- 6 Ask an All-Star (Christine Robertson)
- 21 Ask an Expert (Anthony Gallo)
- Blackbaud Francophone Group
- 22 Ask an Expert (David Springer)
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 6 Ask an All-Star Sunshine Reinken Watson and Carlene Johnson
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 14 Ask an All-Star (Elizabeth Johnson)
- 7 Ask an Expert (Stephen Churchill)
- 2025 ARCHIVED FORUM POSTS
- 322 ARCHIVED | Financial Edge® Tips and Tricks
- 164 ARCHIVED | Raiser's Edge® Blog
- 300 ARCHIVED | Raiser's Edge® Blog
- 441 ARCHIVED | Blackbaud Altru® Tips and Tricks
- 66 ARCHIVED | Blackbaud NetCommunity™ Blog
- 211 ARCHIVED | Blackbaud Target Analytics® Tips and Tricks
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- Luminate CRM DC Users Group
- 225 ARCHIVED | Blackbaud eTapestry® Tips and Tricks
- 1 Blackbaud eTapestry® Know How Blog
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- 1 Blackbaud K-12 Education Solutions™ Blog
- 280 ARCHIVED | Mixed Community Announcements
- 3 ARCHIVED | Blackbaud Corporations™ & Blackbaud Foundations™ Hosting Status
- 1 npEngage
- 24 ARCHIVED | K-12 Announcements
- 15 ARCHIVED | FIMS Host*Net Hosting Status
- 23 ARCHIVED | Blackbaud Outcomes & Online Applications (IGAM) Hosting Status
- 22 ARCHIVED | Blackbaud DonorCentral Hosting Status
- 14 ARCHIVED | Blackbaud Grantmaking™ UK Hosting Status
- 117 ARCHIVED | Blackbaud CRM™ and Blackbaud Internet Solutions™ Announcements
- 50 Blackbaud NetCommunity™ Blog
- 169 ARCHIVED | Blackbaud Grantmaking™ Tips and Tricks
- Advocacy DC Users Group
- 718 Community News
- Blackbaud Altru® Hosting Status
- 104 ARCHIVED | Member Spotlight
- 145 ARCHIVED | Hosting Blog
- 149 JustGiving® from Blackbaud® Blog
- 97 ARCHIVED | bbcon® Blogs
- 19 ARCHIVED | Blackbaud Luminate CRM™ Announcements
- 161 Luminate Advocacy News
- 187 Organizational Best Practices Blog
- 67 everydayhero Blog
- 52 Blackbaud SKY® Reporting Announcements
- 17 ARCHIVED | Blackbaud SKY® Reporting for K-12 Announcements
- 3 Luminate Online Product Advisory Group (LO PAG)
- 81 ARCHIVED | JustGiving® from Blackbaud® Tips and Tricks
- 1 ARCHIVED | K-12 Conference Blog
- Blackbaud Church Management™ Announcements
- ARCHIVED | Blackbaud Award Management™ and Blackbaud Stewardship Management™ Announcements
- 1 Blackbaud Peer-to-Peer Fundraising™, Powered by JustGiving® Blogs
- 39 Tips, Tricks, and Timesavers!
- 56 Blackbaud Church Management™ Resources
- 154 Blackbaud Church Management™ Announcements
- 1 ARCHIVED | Blackbaud Church Management™ Tips and Tricks
- 11 ARCHIVED | Blackbaud Higher Education Solutions™ Announcements
- 7 ARCHIVED | Blackbaud Guided Fundraising™ Blog
- 2 Blackbaud Fundraiser Performance Management™ Blog
- 9 Foundations Events and Content
- 14 ARCHIVED | Blog Posts
- 2 ARCHIVED | Blackbaud FIMS™ Announcement and Tips
- 59 Blackbaud Partner Announcements
- 10 ARCHIVED | Blackbaud Impact Edge™ EAP Blogs
- 1 Community Help Blogs
- Diocesan Blackbaud Raiser’s Edge NXT® Users' Group
- Blackbaud Consultant’s Community
- Blackbaud Francophone Group
- 1 BLOG ARCHIVE CATEGORY
- Blackbaud Community™ Discussions
- 8.3K Blackbaud Luminate Online® & Blackbaud TeamRaiser® Discussions
- 5.7K Jobs Board