tukutoi / tukutoi-contact-form Goto Github PK
View Code? Open in Web Editor NEWSimple Contact Form for ClassicPress and WordPress Websites.
License: GNU General Public License v2.0
Simple Contact Form for ClassicPress and WordPress Websites.
License: GNU General Public License v2.0
I tested a page with two contact forms:
[tkt_cntct_frm_contact_form id='contact-us']
[tkt_cntct_frm_contact_form id='question']
When I submitted one, both forms showed the success message:
Thanks for your e-mail! We'll get back to you as soon as we can.
Thanks for your e-mail! We'll get back to you as soon as we can.
@ozfiddler had a probably very wise idea to use WP Admin Email as the "from" and a Default Subject, instead of the user input, when sending the mail.
The user-mail and user-subject instead should go into the mail body.
This ensures that mails are recognised as "known" and do not get unsent or spam-foldered as de-facto, the way it is implemented now is also known as the spoofing approach :(
This should be fairly easy to change, and I consider it a minor feature, as it wont break anything.
Requires an ID to be set and error management classes have to target just the form submitted.
likely this will have to break existing instances although I could fallback to a default ID if none provided in the shortcode โฆ
I'd like the ability to provide a predefined list of Subjects for a message form.
For example, on one of my sites, people can submit errata for a book by selecting the book name from a drop down list.
I'd like to be able to have a custom footer appended to the bottom of sent messages.
I use contact forms to email both myself and my employer depending on which form is used and I'd like to be vey clear when a message has come from my site to my employer.
Test with https://github.com/TukuToi/tukutoi-contact-form/tree/develop
[Added] Added "Prospect" Email and Name to the Mail Body
[Added] Filter to allow changing the "From" email
[Added] Filter to allow changing the Subject of the mail sent (the "internal" subject, the "message" subject filter stays the same)
[Added] Confirmation message to prospect when form is submitted
[Added] Filter to stop Confirmation message to prospect from being sent
[Added] Filter to change the Confirmation message content to prospect
[Fixed] Do not send the email from the "Prospect" Email, instead, use the Blog Admin Email
[Changed] Updated Readme with new filters
Special testing attention needed when SMPT is used.
Added the success shortcode attribute with a changed message, but it does not change the message displayed on submit of a form.
If a message is submitted and then the user refreshes the page, a duplicate message is sent.
It would be really good to have Update Manager integrated in order to manage notifications of available update and installation of update on sites.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.