Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formspree for gold accounts (AJAX) #215

Open
ryanfox1985 opened this issue Apr 27, 2019 · 0 comments
Open

Formspree for gold accounts (AJAX) #215

ryanfox1985 opened this issue Apr 27, 2019 · 0 comments
Labels

Comments

@ryanfox1985
Copy link
Contributor

Since they changed the API it's not working the contact form with AJAX

It will be adapt this part

$.post($(this).attr('action'),
$this.serialize(),
function () {
$this[0].reset() // clear form
$('#contact-message')
.html('<div class="alert alert-success" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>Thank you for getting in touch. We will get back to you soon!</div>')
.fadeIn()
}
, 'json')
according formspree API https://help.formspree.io/hc/en-us/articles/360013470814-AJAX-Forms

reference: #203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant