Contact Form 7 can do it.
https://contactform7.com/checkboxes-radio-buttons-and-menus/#select
You'll need the build the form with the plugin and then style it with CSS to look the way you want though.
Add reCAPTCHA. It's not an injection attack, it's an unmitigated form submission. Spammers can still enlist humans (Mechanical Turk comes to mind) to purposefully defeat the CAPTCHA, but it's a lot of work with little reward.
If you're using ContactForm7, you can submit the sender's ip address by using the following shortcode [_remote_ip] - https://contactform7.com/special-mail-tags/
But I guess that's there's no need to go that road. Use Invisible reCAPTCHA - https://wordpress.org/plugins/invisible-recaptcha/ (needs to be paired with Google's reCAPTCHA free service).
This should cut drastically spams.
Yes this is common - IE making a phone number and email address mandatory
Just add a "*" to the field. IE:
email* would make the field mandatory, while email without would not.
​
u/yaysheena this link does not mention a script at all, https://contactform7.com/selectable-recipient-with-pipes/
Scrap whatever other link you have referenced and go with this. You'll need both plugins if you don't have them already.
The link example uses a business title mapped to a email address. You can map to multiple email address with a comma.
As long as you are following "dropdown option | [email protected]" you should be able to create what you need.
How big of an organization and how many pages?
Contact Form 7 could be a way to do this: https://contactform7.com/file-uploading-and-attachment/ however, it’s not very scalable - you’d need to set up each form manually.
Another option would be to do a free membership plug-in such as S2Member and then use something like WordPress file upload plugin to allow people to upload files to their page.
So the thing about contact form 7 plugin is that you have to configure where the submission sends. One of the caveats is that you need to use an email that is tied to the domain your website is being hosted on. You can add other emails to send it to but at least one of them needs to be @yourdomain.com.
Check out their documentation for further reading. https://contactform7.com/setting-up-mail/
This doesn't answer OPs question, but for those looking at the question and wondering how this works with CF7. After adding the select, the resulting shortcode will look like the following. So OP needs something easier than pipe delimiting values and email addresses.
[select recipient "Option 1|[email protected]" "Option 2|[email protected]" "Option 3|[email protected]"]
I personally used Contact Form 7 (free) for years with great result, however wpforms might be more what you need if you want to limit the form access to users who paid.
I have been using Option 1 for a couple years and have had no problems.
And FYI, if your form is embedded on the page, you can add the URL Tag inside the form email and the link will show the url with the Adwords tag appended to the end. So a normal form would say:
But an Adwords form would show:
No. According to https://contactform7.com/acceptance-checkbox/, the [acceptance] tag has a closing tag.
[acceptance your-consent] I consent to the conditions. [/acceptance]
Are you following this guide? If so, keep in mind that you should not see any kind of puzzle (e.g. clcik the boxes where you see a traffic light) or checkbox (e.g. I'm not a robot). Recapcha v3, which is required for the latest version of the Contact Form 7 plugin, monitors the general site usage of the visitor to determine if the form sender is genuine or not.
This may help? https://contactform7.com/setting-up-mail/
Also for one of the sites I manage I had to install and use Easy WP SMTP Plugin to get my contact form to work correctly.
Contact Form 7 might work - you can set up an autoresponder:
https://contactform7.com/faq/can-i-implement-autoresponder/
and you may be able to use conditional download links in the autoresponse using the post/page ID/slug:
https://contactform7.com/special-mail-tags/#post-related
OR, you could have multiple contact forms with Contact Form 7, one for each page, and redirect each one to a different page with a different download link on the page (avoiding emails sent to the user):
I can give you a rough example, but you have to do it on your own because it's custom code (you will understand it by looking at the code, it's not complex, so there is no plugin needed, only your themes' functions.php)
First, we need the order object which exists after the order is created:
add_action( 'woocommerce_thankyou', 'save_order_id_to_session' );
function save_order_to_session() {
global $order;
session_start();
$_SESSION( 'my_order_id' ) = $order->get_id();
}
After this, we have the order id everywhere in our website (btw, I am not even using the WC session, only the PHP session, and I am only saving the order id as more is not necessary)
The implementation within a form plugin is always different, I don't know what you are using. If you are using Contact Form 7, you can create a new custom tag where you are inserting the order id. It is explained here:
https://contactform7.com/2015/01/10/adding-a-custom-form-tag/
You can get the order id by calling
session_start();
$order_id = $_SESSION( 'my_order_id' );
return $order_id;
As mentioned, it's a rough example and the code is untested.
Havent found anything comparable in terms of quality but theres image recaptcha and you could try akismet. More info here
Contact Form 7 have a document about google Analytics
https://contactform7.com/tracking-form-submissions-with-google-analytics/
What is the color of the error message? If it is Orange (SPAM), it could be a problem with recaptcha v3 (I had this issue) detecting false alarm spam bots.
Depending on the color of the error, might be something else as seen in this CF7 page: https://contactform7.com/faq/after-submitting-the-form-i-get-an-error-message/
Edit: RE: #2 - Found the docs for it. Contains examples of your shortcode, what should be set in the actual form and a hook. https://contactform7.com/getting-default-values-from-shortcode-attributes/
So it seems you are probably creating your shortcode correctly but you also need to ensure your form is setup properly and that you have hook added as well.
Is the “outbound message” the email from the form to you (the admin). Are you sending this form submission email as a plain text email or HTML?
https://contactform7.com/2016/01/27/html-is-not-allowed-in-messages/
Hey Ian_SAfc, you can set a parameter for both of those using contact form 7. It’s free and well regarded and we use it a ton.
You can read the details here : https://contactform7.com/file-uploading-and-attachment/
Let me know how it goes!
Yes, you can do both of these things, although you will most likely need some custom code.
Other contact form plugins may support this or at least get you further than contact form 7 does though. For instance, gravity forms has an add-on that will limit the form to a set number of users per user.
Sticking with contact form 7, you can use something like get_current_user_id to get the ID of the logged in user(or 0 if the visitor is not logged in) and then show hide text(or a contact form) within a template: https://developer.wordpress.org/reference/functions/get_current_user_id/
There are a variety of hooks you can use with contact form 7 as well, although their official documentation sometimes leaves things to be desired, so you may have to do some research. However, you can use the hooks to control when or if the contact form will actually submit, as well as other things.
One way to keep track of whether they filled out the form would be to use flamingo to save contact form submissions in the database: https://contactform7.com/save-submitted-messages-with-flamingo/
You would still need add some logic to query the flamingo records and then take action to show/hide form depending on what you found, but that could potentially save you some time in terms of keeping track of who has(and has not) filled out the form.
yeh i would just load a new page after successfully submitting the first form - https://contactform7.com/redirecting-to-another-url-after-submissions/
Is there a reason you wouldn't do this as a single form, but with two pages/steps?
I can't recommend one, but there are several multi-step contact form 7 plugins available.
This would be much easier, although since it is two steps, by default the data on the first step/page isn't going to be saved until they completes both pages.
If you really need two separate forms, the easiest thing to do would be to just load both on the page, but hide the second 'bonus' one. Then, after the person submits show the form using JavaScript and hide the old one.
This can be achieved relatively easily using DOM Events. The 'ID=123' example would get you fairly close.: https://contactform7.com/dom-events/
Insert class into your text field, then control your class with @media rule in your css, example:
[text* your-name class:text-test "John Smith"] @media screen and (max-width: 767px) { .text-test { width: 100%; } }
To begin, you could use Contact Form 7 with pipes, to give each item in your form a secondary, numeric, value and, in the end, make some calculations using PHP.
Looks like you are using Contact Form 7. They have a reCaptcha plugin that will help as other have said. You should also make the message field required so users can't submit an empty message.
Contact Form 7 Invalid mailbox syntax is used.
https://contactform7.com/configuration-errors/invalid-mailbox-syntax/
But since you have to make your "from" input:
[your-name] <>
Then how will it work for the correct reply to?
For the record, this method in my post has worked forever, just seeing this error now.
I'm not sure about the divi contact form, but you can do this with contact form 7 plugin.
https://contactform7.com/getting-default-values-from-the-context/
You will need to set the Plan button URLs to something like this:
So don't feel dumb, this is just a tricky thing to do. I've worked with CF7 a lot but have never tried to do something like this with it.
​
I am not sure how much JS you know, but some will be needed to do this. Feel free to PM me if you need additional help.
CF7 has event listeners you can hook into to check when a form has been submitted and do something with that data. You can read about that here. Pay attention to the part that talks about accessing the "your-name" field.
Then it basically gets into what midri says, youll need to write a JavaScript function that takes those values, make them look like what Client Dispute Manager is looking for, and send to to their server.
Maybe you can take a look at CF7 DOM Events and listen to them in your custom javascript, you could write a custom js file in your theme/plugin and enqueue it to your site front-end
Not sure what you're using in terms of email capture form, but the Contact Form 7 plugin allows you to grab some other info at submission time (like post ID, title, url, etc), more info here. Then depending on the email service you're using (mailchimp for example), you should be able to segment your list based on some of that information.
I think there are other plugins that allow you to grab post categories/tags but I'm not sure if they're up to date. Hope this helps!
You think so I'd be able to do that without manually entering info for each entry? I might be able to copy and paste the text for all entries. But what about the images (screenshot)? I guess I might be able to concoct a big HTML output using Excel, if I first imported all the image names into Excel.
The CF7 documentation references another plugin by the same developer, Listo, that can be used to generate long lists, like countries. It can clearly be used to add a select element full of all countries in CF7. But I'm not sure how to add the country codes to that. Maybe I'll post to their forums.
Hmm that's a tough one. How much can you spend on this? Ninja forms is free but there's a multistep add-on which is about $49 Honestly that's a bit steep and I would pay a bit more for gravity forms.
If you absolutely can't spend any money you can look into developing custom multistep functionality.
So say, you got a 2 pages. The form starts on page 1 and you manually code a form which sends the form data as a get request to the second form. The second form is a contact form 7 which gets pre-populated via the get parameters. You can also set a check on the second form page for any get parameters. If there's no get parameters then redirect to the first form.
Contact Form 7 has a file upload feature. You can use that to create new posts like this and have comments enabled on them.
Both free plugins!