Bug 17166

Summary: OPAC suggestion form: making Title a required field to remove onclick Check function
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: OPACAssignee: Aleisha Amohia <aleisha>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 17166: OPAC suggestion form: Make Title a required field

Description Aleisha Amohia 2016-08-23 03:49:22 UTC
Currently we have an onclick function that checks if anything has been entered in Title before submitting. Using the built-in required attribute makes this unnecessary
Comment 1 Aleisha Amohia 2016-08-23 03:51:48 UTC
Created attachment 54741 [details] [review]
Bug 17166: OPAC suggestion form: Make Title a required field

To test:
1) Log in to OPAC
2) Go to your suggestions
3) New suggestion
4) Attempt to submit a suggestion without the title
5) Notice pop-up error box
6) Apply patch and refresh page
7) Attempt to submit a suggestion without the title
8) Notice error bubble and form cannot submit

Sponsored-by: Catalyst IT
Comment 2 Katrin Fischer 2016-08-23 05:44:42 UTC
Hi Aleisha, I tested bug 10848 some days ago, it's currently waiting to get pushed. Haven't tested, but it might make this patch obsolete.
Comment 3 Aleisha Amohia 2016-08-23 22:52:04 UTC
(In reply to Katrin Fischer from comment #2)
> Hi Aleisha, I tested bug 10848 some days ago, it's currently waiting to get
> pushed. Haven't tested, but it might make this patch obsolete.

True! When that gets pushed, this can be marked a duplicate of that
Comment 4 Owen Leonard 2016-09-09 17:33:34 UTC

*** This bug has been marked as a duplicate of bug 10848 ***