# Spam Free Contact Form

**URL:** <https://discourse.softpress.com/t/spam-free-contact-form/25151>\
**Category:** Xway\
**Created:** [December 4, 2021, 2:26am UTC](https://discourse.softpress.com/t/spam-free-contact-form/25151 "2021-12-04T02:26:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blue](https://discourse.softpress.com/user_avatar/discourse.softpress.com/blue/32/2781_2.png) [@Blue](https://discourse.softpress.com/u/Blue)\
**Post date:** [December 4, 2021, 2:26am UTC](https://discourse.softpress.com/t/spam-free-contact-form/25151/1 "2021-12-04T02:26:44Z")

</div>

Hello,

I have attempted to include a ‘Spam Free Contact Form’ into a rebuilt Xway site. I can get the Form to appear, but just not _where_ I want it. Does anyone have some experience with this?

Native Xway Forms (unless there is something better) would make publishing a functional site much more viable, and sooner, even at the current stage of Xway development.

A number of HTML, CSS & Javascript options using the CSS Flexbox route have been attempted, but perhaps I am trying to enter the info into the wrong input panels.

Here is ‘one’ Contact Form solution I have attempted to load (I’m open to other or better options);

[Spam Free Contact Form without Captchas](https://www.nfriedly.com/techblog/2009/11/how-to-build-a-spam-free-contact-forms-without-captchas/)

Here is where I was focusing my efforts;

 ![Demo_01a](https://discourse.softpress.com/uploads/default/original/2X/7/7714dc603d24773358ec343329eedecbefdc1a26.jpeg)

I was shooting for the form to place itself inside ‘Main’. Tried all of the options above.  
Below is what I was expecting (this is a manufactured Photoshop image);

 ![Demo_01b](https://discourse.softpress.com/uploads/default/original/2X/d/d0fc3ee9cacb0c2ec143a795632d3dad6c1ce1eb.jpeg)

Examples of what I have been getting.  
First example, Contacts fell below the Footer

 ![Demo_02a](https://discourse.softpress.com/uploads/default/original/2X/3/3bb0a451ebd076d4437a75502e1a3a96c08a6bd6.jpeg)  
 ![Demo_02b](https://discourse.softpress.com/uploads/default/original/2X/c/c2302871e94f604c5551f933c98926f1151b9504.jpeg)

Second example, Contacts appear above Header

 ![Demo_03a](https://discourse.softpress.com/uploads/default/original/2X/8/84c1fc2fb226540ad972d7914579a0bf32e691ac.jpeg)  
 ![Demo_03b](https://discourse.softpress.com/uploads/default/original/2X/7/7a14c5e9755eca9d1064e3cf65cdb9adaed195ae.jpeg)

And of course I tried combinations of everything in between. Maybe I just didn’t hit the right combination. Maybe I am in completely the wrong place. Left scratching ny head.

Any hints, suggestions, experience offered would be fantastic.

I don’t know what Softpress’ roadmap out of Beta is, but for my purposes it would be great as it is, but inclusive of a native Spam Free Contact forms and and perhaps a solid plugin framework. Everything else is a bonus. Keep up the good work guys. I love it so far.

Thank you.

---

<div class="post-metadata">

**Author:** ![simonmanning](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/s/c77e96/32.png) [@simonmanning](https://discourse.softpress.com/u/simonmanning)\
**Post date:** [December 4, 2021, 4:49am UTC](https://discourse.softpress.com/t/spam-free-contact-form/25151/2 "2021-12-04T04:49:13Z")

</div>

I think that the code you have in the JavaScript Markup field should be in Generic Markup for `Before <html>`. The code you’ve tried putting into various Generic Markup fields should instead be put in a Markup box, available from the Insert menu.

Create a box where you want the form to appear, click on the box to get the insertion cursor in the box, then Insert \> Markup. Paste your code and leave Inline turned off.

---

<div class="post-metadata">

**Author:** ![Blue](https://discourse.softpress.com/user_avatar/discourse.softpress.com/blue/32/2781_2.png) [@Blue](https://discourse.softpress.com/u/Blue)\
**Post date:** [December 6, 2021, 1:10pm UTC](https://discourse.softpress.com/t/spam-free-contact-form/25151/3 "2021-12-06T13:10:06Z")

</div>

Thanks Simon! Completely overlooked using ‘markup’ and I had even used ‘markup’ for my dates in the footer. Doh! Your suggestion got the Contact Form into ‘main’ for me. Now I just have to massage the ‘look’ of the form and give it some testing.  
Thanks again for the feedback.
