[% ELSE %]
<label for="entertitle" class="required">Title: </label>
<input type="text" id="entertitle" size="50" name="title" value="[% title |html %]" class="focus" />
+ <span class="required">Required</span>
[% END %]
</li>
<li>
<input type="text" size="20" id="quantity" name="quantity" value="[% quantityrec %]" onchange="updateCosts();" />
[% END %]
[% END %]
+ <span class="required">Required</span>
[% END %]
<!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
<input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
</option>
[% END %]
</select>
+ <span class="required">Required</span>
<label for="showallbudgets" style="float:none;width:auto;"> Show all:</label>
<input type="checkbox" id="showallbudgets" />
[% END %]
[% searchfield %]
</li>
[% ELSE %]
- <li><label for="tagfield" class="required">Tag: </label><input type="text" id="tagfield" name="tagfield" size="5" maxlength="3" required="required" class="required" /></li>
+ <li>
+ <label for="tagfield" class="required">Tag: </label><input type="text" id="tagfield" name="tagfield" size="5" maxlength="3" required="required" class="required" />
+ <span class="required">Required</span>
+ </li>
[% END %]
<li><label for="liblibrarian">Text for librarians: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian |html %]" size="40" maxlength="100" /></li>
[% ELSE %]
<label for="authtypecode" class="required">Authority type: </label>
<input id="authtypecode" type="text" class="required" required="required" name="authtypecode" size="10" maxlength="10" onblur="toUC(this)" />
+ <span class="required">Required</span>
[% END %]
</li>
- <li><label for="authtypetext" class="required">Description: </label><input type="text" id="authtypetext" name="authtypetext" size="40" maxlength="80" value="[% authtypetext |html %]" class="required" required="required" /></li>
+ <li>
+ <label for="authtypetext" class="required">Description: </label><input type="text" id="authtypetext" name="authtypetext" size="40" maxlength="80" value="[% authtypetext |html %]" class="required" required="required" />
+ <span class="required">Required</span>
+ </li>
<li><label for="summary">Summary: </label><textarea id="summary" name="summary" cols="55" rows="7">[% summary %]</textarea></li>
<li>
<p class="tip">Note: for 'Authority field to copy', enter the authority field that should be copied from the authority record to the bibliographic record. E.g., in MARC21, field 100 in the authority record should be copied to field 100 in the bibliographic record</p>
<li><span class="label">Category code: </span>[% categorycode |html %]
<input type="hidden" name="categorycode" value="[% categorycode |html %]" /><input type="hidden" name="is_a_modif" value="1" /></li>
[% ELSE %]
- <li><label for="categorycode" class="required">Category code: </label> <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" onblur="toUC(this)" /></li>
+ <li>
+ <label for="categorycode" class="required">Category code: </label>
+ <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" onblur="toUC(this)" />
+ <span class="required">Required</span>
+ </li>
[% END %]
- <li><label for="description" class="required">Description: </label> <input type="text" name="description" id="description" size="40" maxlength="80" value="[% description |html %]" /></li>
+ <li>
+ <label for="description" class="required">Description: </label>
+ <input type="text" name="description" id="description" size="40" maxlength="80" value="[% description |html %]" />
+ <span class="required">Required</span>
+ </li>
<li><label for="enrolmentperiod" class="required">Enrollment period: </label>
<fieldset>
<legend>Choose one</legend>
[% END %]
</select></li>
<li><label for="reservefee">Hold fee: </label><input type="text" name="reservefee" id="reservefee" size="6" value="[% reservefee %]" /></li>
- <li><label for="category_type" class="required">Category type: </label> <select name="category_type" id="category_type">
+ <li>
+ <label for="category_type" class="required">Category type: </label>
+ <select name="category_type" id="category_type">
[% IF ( type_n ) %]<option value="" selected="selected">Select a category type</option>[% ELSE %]<option value="">Select a category type</option>[% END %]
[% IF ( type_A ) %]<option value="A" selected="selected">Adult</option>[% ELSE %]<option value="A">Adult</option>[% END %]
[% IF ( type_C ) %]<option value="C" selected="selected">Child</option>[% ELSE %]<option value="C">Child</option>[% END %]
[% IF ( type_P ) %]<option value="P" selected="selected">Professional</option>[% ELSE %]<option value="P">Professional</option>[% END %]
[% IF ( type_X ) %]<option value="X" selected="selected">Statistical</option>[% ELSE %]<option value="X">Statistical</option>[% END %]
</select>
+ <span class="required">Required</span>
</li>
<li><label for="branches">Branches limitation: </label>
<select id="branches" name="branches" multiple size="10">
<form action="/cgi-bin/koha/tools/csv-profiles.pl" class="validated" method="post">
<fieldset class="rows">
<ol>
- <li><label for="profile_name" class="required">Profile name: </label>
- <input type="text" id="profile_name" name="profile_name" required="required" /></li>
+ <li>
+ <label for="profile_name" class="required">Profile name: </label>
+ <input type="text" id="profile_name" name="profile_name" required="required" />
+ <span class="required">Required</span>
+ </li>
<li>
<label for="profile_type" class="required">Profile type: </label>
<option value="marc" selected="selected">MARC</option>
<option value="sql">SQL</option>
</select>
+ <span class="required">Required</span>
</li>
<li><label for="profile_description">Profile description: </label>
</select></li>
- <li class="marc_specific"><label for="new_profile_marc_content" class="required">Profile MARC fields: </label>
- <textarea cols="50" rows="2" name="profile_marc_content" id="new_profile_marc_content"></textarea>
+ <li class="marc_specific">
+ <label for="new_profile_marc_content" class="required">Profile MARC fields: </label>
+ <textarea cols="50" rows="2" name="profile_marc_content" id="new_profile_marc_content"></textarea>
+ <span class="required">Required</span>
<p>You have to define which fields or subfields you want to export, separated by pipes.</p>
<p>You can also use your own headers (instead of the ones from Koha) by prefixing the field number with an header, followed by the equal sign.</p>
<p>Example: Personal name=200|Entry element=210$a|300|009</p>
<fieldset class="rows">
<ol>
<li><label for="modify_profile_name" class="required">Profile name: </label>
- <select id="modify_profile_name" name="profile_name" onchange="javascript:reloadPage(this)">
+ <select id="modify_profile_name" name="profile_name" required="required" class="required" onchange="reloadPage(this)">
<option value="0">-- Choose One --</option>
[% FOREACH existing_profile IN existing_profiles %]
[% IF ( existing_profile.export_format_id == selected_profile_id ) %]
<option value="[% existing_profile.export_format_id %]">[% existing_profile.profile %]</option>
[% END %]
[% END %]
- </select></li>
+ </select>
+ <span class="required">Required</span>
+ </li>
<li>
<label for="modify_profile_type" class="required">Profile type: </label>
- <select id="modify_profile_type" name="profile_type">
+ <select id="modify_profile_type" name="profile_type" class="required" required="required">
<option value="marc">MARC</option>
[% IF selected_profile_type == "sql" %]
<option value="sql" selected="selected">SQL</option>
<option value="sql">SQL</option>
[% END %]
</select>
+ <span class="required">Required</span>
</li>
[% END %]
</select></li>
- <li class="marc_specific"><label for="modify_profile_marc_content" class="required">Profile MARC fields: </label>
- <textarea cols="50" rows="2" name="profile_marc_content" id="modify_profile_marc_content">[% selected_profile_content %]</textarea></li>
+ <li class="marc_specific">
+ <label for="modify_profile_marc_content" class="required">Profile MARC fields: </label>
+ <textarea cols="50" rows="2" name="profile_marc_content" id="modify_profile_marc_content" class="required" required="required">[% selected_profile_content %]</textarea>
+ <span class="required">Required</span>
+ </li>
<li class="sql_specific">
<label for="modify_profile_sql_content" class="required">Profile SQL fields: </label>
<div class="dialog message"><p>There are no defined templates. Please create a template first.</p></div>
[% END %]
- <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" >
+ <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" class="validated">
<fieldset>
<legend>Create a new template</legend>
<label for="template_name" class="required">Name: </label>
- <input name="template_name" id="template_name" type="text" size="30" required="required" />
+ <input name="template_name" id="template_name" type="text" size="30" required="required" class="required" />
+ <span class="required">Required</span>
<input type="hidden" name="op" value="create_template" />
<input type="submit" value="Create template" />
[% IF ( op == 'show' ) %]
<div id="cataloguing_additem_newitem">
<h2>Edit patrons</h2>
- <div class="hint">Checking the box right next the label will disable the entry and delete the values of that field on all selected patrons</div>
+ <div class="hint">Checking the box right next to the label will disable the entry and delete the values of that field on all selected patrons</div>
<fieldset class="rows" id="fields_list">
<ol>
[% FOREACH field IN fields %]
[% IF ( field.type == 'date' ) %]
<input type="text" name="[% field.name %]" id="[% field.name %]" value="" size="10" maxlength="10" readonly="readonly" class="datepicker" />
<a href="#" class="clear-field" onclick="clearDate('[% field.name %]');return false;">Clear</a>
- [% END %]
+ [% END %]
+ [% IF field.mandatory %]
+ <span class="required">Required fields cannot be cleared</span>
+ [% END %]
</li>
[% END %]
[% IF ( patron_attributes_codes ) %]