Populate form fields
Hi,
I'm aware it's possible to use “magic links” (URL parameters) to choose the membership and pre-select the gift, but is it possible to also prepopulate the name and address fields? Or perhaps somebody has done this with some custom JS?
thanks,
chris
Comments
-
@Chris Gadd
I'm not sure about membership forms, but I imagine it to be the same as Online Express registration and donation form. You can issue some JavaScript to assign values into the form field after the form has loaded. Pretty easy to do if you are somewhat familiar with webdev.Using developer tool on browser will help you identify the “id” of the field, and then it is just using JS to change that field's value to something else. For example, for a donation form, the “id” of the first name field in billing address section is bboxdonation_billing_txtFirstName, which you can change the value (populate the value) with anything you want by:
document.getElementById("bboxdonation_billing_txtFirstName").value = "My First Name";
This is pure JS code, so if you use any JS framework (i.e. jQuery), it will have easier syntax.
1 -
Thanks @Alex Wong. Yeah, sounds like a little JS is the way. Would be nice to have something off-the-shelf / supported but this'll do the job.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 209 bbcon®
- 1.4K Blackbaud Altru®
- 395 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 648 Blackbaud Grantmaking™
- 566 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 247 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 782 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
