How to populate fields on a Payment 2.0 form

Sometimes, it may be helpful to automatically fill out fields on a Payment 2.0 part, after the visitor finishes using an Advanced Donation Form. This can be achieved with JavaScript.
On the Advanced Donation Form, add an 'onclick' event to the submit button that copies the data out of the fields and stores it in session.

Then, on the payment page, pull the data from the session and populate the Payment 2.0 fields with it. Don't forget to clear out the session after the user clicks submit on the payment page.

Steps to Duplicate

1) The Advanced Donation Form is set to "Use Payment Part"
2) Donor fills out an Advanced Donation Form, including name, address, etc
3) Donor navigates to the Payment 2.0 part
4) JavaScript populates certain fields on the Payment 2.0 part, such as the name/address that the donor already entered.
 

Environment

 Blackbaud Internet Solutions
 4.0
 4.0
 7.1.168.0
 7.1.168.0

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.