Closed Bug 876719 Opened 12 years ago Closed 12 years ago

Perform validation on Event creation form

Categories

(Webmaker Graveyard :: Events, defect)

x86_64
Linux
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hike, Assigned: hike)

References

Details

(Whiteboard: s=2013w23)

The Event creation form (in map.html) should be validated on submit and report errors if inputs are invalid/incomplete. The form data should be validated again on the server-side (in the events#create controller action) before creating a new Event record. Need to decide: - which inputs are required? - how to validate image data (currently stored as a data uri) - how to handle cases where client-form validated but server returns errors (which would indicate a bug in the client or server validation code).
Whiteboard: s=2013w22
Whiteboard: s=2013w22
Whiteboard: s=2013w22
Blocks: 876998
Summary: Perform validation on Event creation form → Perform validation on Event creation POST request
Summary: Perform validation on Event creation POST request → Perform validation on Event creation form
Whiteboard: s=2013w22 → s=2013w23
Depends on: 877000
Severity: normal → blocker
No longer blocks: 876998
Implemented in webmaker-events#0b1ea5dc (https://github.com/mozilla/webmaker-events/tree/0b1ea5dc).
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.