http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10769 Bug ID: 10769 Summary: Simplify clearing of input fields when duplicating a patron Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Currently the patron entry template has a lot of logic handling form fields when the operation being performed is "duplicate:" [% IF ( opduplicate ) %] <input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" onclick="this.value=''" /> [% ELSE %] <input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" /> [% END %] I propose to set a class on fields which require this behavior so that the event can be handled in the script block. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.