Contributor Form emails sending when fields are empty
See original GitHub issuefrom models.ContributorForm
def should_notify(self):
"""
If this evaluates to true, we send an email to the recruitment team.
"""
return (
(self.ideas != None)
| (self.features != None)
| (self.experience != None)
| (self.contribute_ways != None)
| (self.expertise != None)
)
however emails are being sent when all should be None
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Receiving Empty email from Submit form every day around the ...
Validate the input on the PHP side before you send the email. eg: $valid = true; $name = $_POST['name']; if(empty($name)) { echo('Please ...
Read more >The 'To' field shows empty for the emails received...
The 'To' field shows empty for the emails received in SNOW instance. When the email template type is 'Email and Not Email Address'...
Read more >Microsoft Forms Notification - Power Platform Community
I want to create a Power Automate email notification that emails a ... was a comment (the field is not empty), send the...
Read more >Email address field body is empty [#2834352] | Drupal.org
In my form I have an email field that is causing me problems. The form is "Send To" whatever email address I set...
Read more >Error sending emails when reply-to setting contains empty string
Typing an empty string (by typing and then pressing backspace) into the reply-to address field in the Admin > Settings > Email form...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, I need to do a quick look through of SQLAlchemy today and see where to go from there.
On Mon, Aug 23, 2021, 5:02 AM Itsi Weinstock @.***> wrote:
Go for it.
On Mon, Sep 6, 2021, 11:16 AM Aapeli Vuorinen @.***> wrote: