html - Error when submitting formspree.io from GitHub pages -
i hosting website on github pages, , when try submit formspree.io form following error:
here code:
<form action="http://formspree.io/example@example.com" method="post"> <div class="row uniform collapse-at-2"> <div class="6u"> <input type="text" name="_replyto" placeholder="email"> </div> </div> <div class="12u"> <textarea name="message" placeholder="message..." rows="4" cols="50" maxlength="500"></textarea> </div> <br> <div style="display:none"> <input type="hidden" name="_subject" value="new submission!"> <input type="hidden" name="_next" value="thanks.html"> <input type="text" name="_gotcha"> </div> <div class="row uniform"> <div class="12u"> <ul class="actions"> <li> <input type="submit" class="special" value="send"> </li> </ul> </div> </div> </form>
would due code error, github pages error, or formspree error?
things should make work follows:
- according formspree example:
<form method="post" action="http://formspree.io/youremailhere"> <input type="email" name="email" placeholder="your email"> <br> <textarea name="message" placeholder="your message"></textarea> <button type="submit">send</button> </form>
here put your email in "http://formspree.io/youremailhere" after /. , if want change name="email"
name="_replyto"
change senders email clickable link.(helps while reading in mail)
- if doesn't work , shows "you must use server. formspree not work in pages browsed html pages."
then inside <head>
tag put:
<meta name="referrer" content="origin">
hope works!!
all best :)
Comments
Post a Comment