Sign in

Open source form receiver and forwarder

Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #1269
    Verhoeckx

    Hello Publii developers,

    Because Publii is a static website generator it can’t process any forms.

    Does anybody know a good open source project that can receiver the information send in the form and forward that content to an e-mail address?

    In other words I’m looking for an open source alternative to projects like Formspree and/or Simple Form.

    Regards,

    Verhoeckx

     

     

    #1274
    ajeet

    Formspree is open source, you can run your own instance on Heroku

     

    https://github.com/formspree/formspree

    #1276
    ajeet
    #1277
    Verhoeckx

    Hello Ajeet,

    Thanks you for your comments!

    The problem with Formspree is that it has a lot of dependencies (SendGrid, PostgreSQL, Redis,  Python 2.7, etc) and that it’s no longer developed as an open source project.

    The list of Formspree alternatives is long but contains a lot of project that are far to complex for what I want to achieve.

    Regards,

    Verhoeckx

     

    #1280
    BertBert

    That’s a very interesting question, @Verhoekx.

    For years I’ve been using Allforms/Mailjol and it has proved to be reliable for contact forms, testimonial form and (very) simple order forms.

    However it seems its makers abandoned the project. They no longer reply to questions in the forum and no longer collect money for the pro version ($ 10,-/year I believe). But the strange thing is: it keeps working flawlessly and reliably. Someone is clearly looking after Allforms. Over several years I have had zero problems with this service.

    But as the situation is, no one knows Allforms’ intention. They obviously look after the service, but could also suddenly pull the plug.

    So I too have been looking for alternatives, but nothing seems what we are looking for. Most Formspree alternatives have the “Freemium” model, which is easy to truly hate 😉

    So I’m glad you brought this up. Let’s find a form handling service that is perfect for all Publiiists!

    #1285
    Verhoeckx

    @Bert:  the closest that I have found yet is TellForm and it’s successor OhMyForm. And with a quick search I also found this: SurveyJS. Maybe that’s  something (I haven’t really looked into it yet)?

    Let me know if you find another program that might be interesting!

    I don’t need it right know but I maybe need it in the (near) future.

    #1291
    BertBert

    Thanks for your ideas @Verhoeckx.

    OhMyForm looks like a good candidate, worth considering.

    You probably know this list: https://alternativeto.net/software/formspree-io/

    Of those, FormSubmit, AirForm, Simple Form and Severless Form are candidates, imho.

    There’s also SmtpJS that looks really interesting. I don’t know enough about smtp, so cannot judge.

    Let’s find a good solution!

    #1293
    Verhoeckx

    FormSubmit: not open source.
    AirForm: needs a JavaScript framework on the server.
    Simple Form: needs Ruby on Rails on the server.
    Serverless Forms: also needs a JavaScript framework on the server.

    I’m looking for something in PHP so that’s easy to install.

     

     

    #1294
    ajeet

    @Verhoeckx



    @Bert

    Please keep us updated on this topic, if possible 🙂

    Thanks

     

    #1295
    Verhoeckx

    Personally I’m not in a hurry. I first have to learn how to work with Publii first (especially how to create my own theme/template)! But when I have the time I will keep on searching!

    #1304
    BertBert

    FormSubmit: not open source.

    AirForm: needs a JavaScript framework on the server.

    Simple Form: needs Ruby on Rails on the server.

    Serverless Forms: also needs a JavaScript framework on the server.

    I’m looking for something in PHP so that’s easy to install.

    I think we are talking about two different things. OhMyForm is primarily a formbuilder (that is not php) and not so simple to implement and it has to be installed on your own server.

    The ones I mentioned are web services developed for people running static pages, for the servers those pages use do not have dynamic components like php. (and that’s why those static pages are so fast and secure)

    FormSubmit: “Connect your form to FormSubmit endpoint and we’ll email you the submissions. No PHP, Javascript or sign up required.”

    Airform: “What if you could use a service that gives you full control over the form, yet doesn’t require you to use anything on your server? Airform gives you the ability to create functional HTML forms without thinking about servers.”

    Serverless Forms: “ServerlessForms is hosted in cloud and managed by us so that you don’t need to worry about form data management. Just focus on your website design and content. We will take care of your form submits”

    #1343
    Verhoeckx

    @Bert:

    First: nice avatar :-)!

    The problem with third party services is that you have to trust them that they don’t do anything with the information of in the e-mails. Maybe they don’t but you don’t know. On most web hosting services PHP is already installed and so I was looking for a simple simple solution that turns form data into e-mails. Of course I could write that myself but I want to do as little as possible.

     

     

    #1281
    BertBert

    @Verhoekx,

    You probably know this list: https://alternativeto.net/software/formspree-io/

    Not too long ago I went thru it and made notes, but lost those, due to having no backup 😳

    #1377
    Verhoeckx

    Yes, you sent me that list earlier.

    I’m going to think about what I’m going to use.

    #1378
    BertBert

    I did not post this today. It was one of the messages I tried to post earlier, but it was refused by the forum software.

    So, apologies for sending you the same stuff twice… it was not my intention.

    #1383
    Verhoeckx

    No problem 🙂 !

    #1452
    gpsbluesgpsblues

    Hi,

    I use with satisfaction “just validate” https://github.com/horprogs/Just-validate.

    • Lightweight (~ 4,5kb gzip) form validation in Javascript Vanilla
    • Client-side validation with custom error messages
    • Ajax helper that I use with mail() php

    I use it on my Publii site (http://www.mywebpassion.it) and on some sites developed for my clients.

    #1455
    Verhoeckx

    gpsblues:

    Thanks for the suggestion but I was looking for a server side script (for example written in PHP). Of course I could write it myself but that’s tedious.

    #1456
    BobBob
    Support

    Here you go:  https://kursjs.pl/kurs/ajax/formularz-kontaktowy.php ;  nice tutorial, admittedly in Polish but you can download the script and play with that.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #1458
    Verhoeckx

    Hello Bob,

    Thank you very much!! I will use Google Translate to translate the webpage!
    For every website that I made with Publii I will donate some money.

    Best wishes,

    Verhoeckx

     

     

     

     

    #1758
    marc_io

     I was looking for a server side script (for example written in PHP).

    @Verhoeckxo You may enjoy Formtools then.

    #1763
    Verhoeckx

    Hi Marc_io, thanks for the link but I think I’m going to use Google Forms.

    #1854
    itips3727

    I was looking for a server side script (for example written in PHP).

    @Verhoeckxo You may enjoy Formtools then.

    Here’s a PHP forms processor that I have used on a Publii website:

    https://www.willmaster.com/library/manage-forms/php-form-processor-for-simple-and-complex-forms.php

    Hope that helps.

    #1868
    Verhoeckx

    Hello Itips3727,

    Thank you very much for that page!! I think it’s exactly what I needed/wanted!!

    I will try it out (next week or so)!

    Thanks for thinking along!

    Verhoeckx

    #2174
    Verhoeckx

    Hi Itips3727,

    Thanks for sending me the above script but I have the idea that the script is not safe because it doesn’t test for Cross Site Scripting (XSS).

    Verhoeckx

     

    #2183
    itips3727

    Hi Itips3727,

    Thanks for sending me the above script but I have the idea that the script is not safe because it doesn’t test for Cross Site Scripting (XSS).

    Verhoeckx

    Hi @Verhoeckx,

    Try adding XSS protection into your .htaccess file.

    For example:

    ## Reflected XSS protection
    <IfModule mod_headers.c>
    Header set X-XSS-Protection "1; mode=block"
    </IfModule>
    

    Hope that works for you. 😉

     

     

    #2184
    Verhoeckx

    Hi Itips3727,

    Oh, I didn’t know that Apache could do that!
    Is this solution good enough to prevent all kind of XSS-attacks?

    Verhoeckx

    #2187
    itips3727

    Hi Itips3727,

    Oh, I didn’t know that Apache could do that!

    Is this solution good enough to prevent all kind of XSS-attacks?

    Verhoeckx

    Here’s a fuller explanation: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection

Viewing 28 posts - 1 through 28 (of 28 total)
  • You must be logged in to reply to this topic.