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

Cookbook: email system with forms #1494

Open
Tracked by #2313
KGS-Rastede opened this issue Sep 24, 2021 · 0 comments
Open
Tracked by #2313

Cookbook: email system with forms #1494

KGS-Rastede opened this issue Sep 24, 2021 · 0 comments

Comments

@KGS-Rastede
Copy link

I am running a school homepage. On that we are using a email-form so that parents can call their children in sick. It looks like this:

image

A working demo of that is here: https://niehaus-ol.de/allgemeines/krankmeldung

After chatting with Bastian we found that this might be a good real-world example. The page works like this:

  • Parents fill out the forms (name, teacher, class, tel-number, email, extra message)
  • The send the information and this happens:
    • One mail directly goes to the teacher
    • One mail goes back to the parents (so that they know it works)
    • One mail goes to the school administration office

As you can see we are using a combobox. That is automatically filled using a .csv-file (which, by the way is used in other places too 👍 )

The class-combo is based on a simple text-file.

So my code uses csv-parsing, generation of three different emails and a pretty easy to understand usecase. Also, the real code is opensource and on gitlab (https://gitlab.com/cniehaus/homepage) so that kirby-users can have a look at the not-simplified version of my cookbook.

https://github.com/KGS-Rastede/getkirby.com/tree/master/content/docs/2_cookbook/4_forms/0_sending-emails-with-user-interaction

Please tell me if this is something you are interested in or not.

@distantnative distantnative changed the title Suggestion for a Cookbook (real world example of a email-system using forms) Cookbook idea: email system using forms Mar 21, 2022
@distantnative distantnative changed the title Cookbook idea: email system using forms Cookbook: email system with forms May 25, 2024
@distantnative distantnative mentioned this issue May 25, 2024
3 tasks
@distantnative distantnative closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2024
@distantnative distantnative reopened this May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants