[Koha-bugs] [Bug 12740] It should not be possible to store empty news

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 13 18:21:08 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12740

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 31579
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31579&action=edit
Bug 12740 - It should not be possible to store empty news

This patch marks the title field and the textarea field as 'required' and it is
not longer possible to store a news without having at least a title.

Note: The 'required' validation for a textarea does not work properly, that's
why
the textarea for the news text is not validated, only marked as 'required'

To test:
Got to Tools->News
Create news or edit existing news
Fields "Title" and "News" should have a red label and should be marked as
"required"
It should not be possible to save with empty field "Title"

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list