Advertisement:

Author Topic: item_post jQuery validation: commit details  (Read 1613 times)

code monkey

  • Full Member
  • ***
  • Posts: 204
item_post jQuery validation: commit details
« on: April 02, 2011, 03:58:38 pm »
https://github.com/mpiasta-ca/OSClass/commit/1b55ea75f8eb99da25edb1a2fbb9cb1481021783

commit details

1. Improvements:
  • jQuery validation for item-post.php and item-edit.php
  • errors displayed in list instead of using alert pop-ups (error list appears on submit; if there are errors, the user will be scrolled to the top of page where error list appears)
  • check for valid file extension on all photos
  • validate many fields that were previously not validated
  • when user select's a photo for upload, another file field is added automatically.
  • title and description is checked for all locales.


This should stop the problem of empty forms for all users browsing with Javascript turned on.

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: item_post jQuery validation: commit details
« Reply #1 on: April 04, 2011, 08:59:57 pm »
I've merged this improvement into develop branch! It's great! I love it :)