hashplan / calendar

Apache License 2.0
0 stars 0 forks source link

user created event #16

Closed hashplan closed 9 years ago

hashplan commented 10 years ago

Please add form validation to the submission form, I am able to submit blank forms, forms with random data which does not belong in the form fields, etc.

Time picker is not working.

image

Event controller public function add() has some validation, etc but it seems to be commented out.

romasolot commented 9 years ago

Fixed, on hashplans.com

hashplan commented 9 years ago

Roma, Is location stored anywhere currently from this form? Looking at the events_m model save method, it does not look like it is. I am thinking we have to have 2 location input fields, one for address (like building number and street which will be freehand) and another one to be a dropdown of metroareas.

Also is the boolean value for public stored in reverse? So if I don't check the "private" box in the form it actually considers it a 0 in the "is_public" column of events table?

hashplan commented 9 years ago

I also don't see events I add loading on my profile http://hashplans.com/user/events/my

romasolot commented 9 years ago

Validation for the form fields is added. An additional validation for location and address fields using google geocoding is added. The issue with private chackbox - fixed (when private is checked is_public=0, otherwise is_public=1)