• Resolved franktrog

    (@franktrog)


    I am curious if it is possible to use ajax requests to load a form after a page has loaded to potentially increase page load speed. We have a page with multiple donation forms and I can hide them and programmatically show them as requested by the user, but it would be great if I could reduce the initial page load time if possible. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @franktrog This sounds very interesting. I’m wanting to allow the donor to choose from a set of recent memorial gift targets and display the proper form for them. I too worry about load times.

    Hi @franktrog,
    Glad you reached out, this is a great question. I’m inclined to say yes, it is possible, but not something that is available as an option at the moment.

    I’d like to make this a feature request for the teams to review. If you could send along more details about how you’d like to implement this, I’ll get one written up and link it here for you to follow.

    Keep me posted, I’m happy to help.

    Hi @franktrog,
    It’s been a bit since I’ve heard back here, so I’ll go ahead and mark this as resolved. If you still have questions you can send them along here and I’ll be happy to hop back in!

    Thread Starter franktrog

    (@franktrog)

    My apologies for not responding in a more speedy fashion. I agree this would make a good feature request.

    The way I would envision it would allow the users to create forms as they have them now but provide some sort of API call to pass along a donation forms code to be added to the page using javascript AFTER a page has loaded. This would ensure the donation form isn’t slowing down page load time when you have 20 donation forms on the page and you want to only show the one the user is interested in.

    I am envisioning something like a page with a grid of possible causes to donate to and clicking on a cause will show more information or show the donation form in a section below the grid with more information for them to review. A lot of this feature is up to the designer of the site, but it requires the ability to call the code using an AJAX request or load the form code after the page has loaded.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Load form after initial page load?’ is closed to new replies.