[MGNLFORM-200] Validation of email field is required although field is not mandatory Created: 24/Oct/13  Updated: 09/Jul/14  Resolved: 06/Jun/14

Status: Closed
Project: Magnolia Form Module
Component/s: validation
Affects Version/s: 2.0
Fix Version/s: 2.2.5

Type: Bug Priority: Major
Reporter: Jaroslav Simak Assignee: Karel Nedoma
Resolution: Fixed Votes: 0
Labels: quickwin, support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File img10.png    
Issue Links:
causality
is causing MSHOP-123 "Billing address same as shipping add... Closed
relation
is related to MGNLFORM-230 Email validation is enforced even if ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Steps to reproduce:

  • go to the page with contact form (demo-project/service/contact)
  • change email field to be not mandatory
  • submit form
  • result: email field validation is triggered but it shouldn't

See also attached screenshot.



 Comments   
Comment by Christopher Zimmermann [ 03/Dec/13 ]

So - email validation should pass if its an empty string or spaces.

Comment by Jaroslav Simak [ 07/Mar/14 ]

I don't see any logical reason to validate email field when its not mandatory.

Generated at Mon Feb 12 05:37:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.