[Koha-bugs] [Bug 906] ISBN Check

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 21 20:58:42 CET 2013


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

--- Comment #9 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to comment #8)
> (In reply to comment #7)
> > I don't think a check like this can be done with a value_builder plugin. If
> > I am wrong, a value_builder plugin would definitely be better, but the
> > plugins aren't -- so far as I understand -- used for validation but rather
> > as helpers for setting fields.
> 
> You can put a hook on entering or leaving a field. If you put a hook on
> leaving ISBN field, then it will be a validation. We use that for some
> plugins already. The ... on the right are not necessary used to open a
> popup, then can be used to do a check as well.

How would the workflow be in case of bad ISBN Paul? Can't save unless put in
the $z field? Do u still suggest validating it on the perl side or the onLeave
thing should use the same javascript code?

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


More information about the Koha-bugs mailing list