https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39254

            Bug ID: 39254
           Summary: PatronSelfRegistrationBorrowerMandatoryField. Show
                    which fields were not set.
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

When configuring mandatory fields for Patron OPAC Self Registration, it is
possible to configure fields, which are not actually visible. Regardless a
notification about

    "Your personal details ->
You have not filled out all required fields. Please fill in all missing fields
and resubmit."

Is shown, even if all visible fields are filled. It would be helpful to show
the names of the fields that are missing/not-defined, so the system preferences
can be more easily updated.

It is a very simple code modification. Something like:

opac-tmpl/bootstrap/en/modules/opac-memberentry.tt =>

  [% IF empty_mandatory_fields %]
    <div class="alert alert-warning">You have not filled out all required
fields. Please fill in all missing fields and resubmit. [%
empty_mandatory_fields.join(", ") %] </div>
  [% END %]

It would be helpful to show the real column descriptions however.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to