Lines 128-139
$(document).ready(function(){
Link Here
|
128 |
<h3>Patron identity</h3> |
128 |
<h3>Patron identity</h3> |
129 |
<li> |
129 |
<li> |
130 |
<label for="surname" class="required">Surname: </label> |
130 |
<label for="surname" class="required">Surname: </label> |
131 |
<input type="text" id="surname" name="surname" value="[% surname %]" class="required" required="required" /> |
131 |
<input type="text" id="surname" name="surname" title="Please only enter letters in the surname field" value="[% surname |html %]" class="required" required="required" /> |
132 |
<span class="required">Required</span> |
132 |
<span class="required">Required</span> |
133 |
</li> |
133 |
</li> |
134 |
<li> |
134 |
<li> |
135 |
<label for="firstname" class="required">First name: </label> |
135 |
<label for="firstname" class="required">First name: </label> |
136 |
<input type="text" name="firstname" id="firstname" size="20" value="[% firstname %]" class="required" required="required"> |
136 |
<input type="text" name="firstname" title="Please only enter letters in the first name field" id="firstname" size="20" value="[% firstname |html %]" class="required" required="required"> |
137 |
<span class="required">Required</span> |
137 |
<span class="required">Required</span> |
138 |
</li> |
138 |
</li> |
139 |
</ol> |
139 |
</ol> |
Lines 142-150
$(document).ready(function(){
Link Here
|
142 |
<li> |
142 |
<li> |
143 |
<label for="cardnumber" class="required">Card number: </label> |
143 |
<label for="cardnumber" class="required">Card number: </label> |
144 |
[% IF patrons && patrons > 1 %] |
144 |
[% IF patrons && patrons > 1 %] |
145 |
<input type="text" id="cardnumber" class="noEnterSubmit valid" name="cardnumber" value="[% newcardnumber | html %]" class="required" required="required"> |
145 |
<input type="text" id="cardnumber" title="Please enter a cardnumber" class="noEnterSubmit valid" name="cardnumber" value="[% newcardnumber | html %]" class="required" required="required"> |
146 |
[% ELSE %] |
146 |
[% ELSE %] |
147 |
<input type="text" id="cardnumber" name="cardnumber" value="[% cardnumber | html %]" class="required" required="required"> |
147 |
<input type="text" id="cardnumber" title="Please enter a cardnumber" name="cardnumber" value="[% cardnumber | html %]" class="required" required="required"> |
148 |
[% END %] |
148 |
[% END %] |
149 |
<span class="required">Required</span> |
149 |
<span class="required">Required</span> |
150 |
</li> |
150 |
</li> |
Lines 186-197
$(document).ready(function(){
Link Here
|
186 |
<li> |
186 |
<li> |
187 |
<input type="hidden" name="BorrowerMandatoryField" value = [% BorrowerMandatoryField %] /> |
187 |
<input type="hidden" name="BorrowerMandatoryField" value = [% BorrowerMandatoryField %] /> |
188 |
<label for="userid" class="required">Username: </label> |
188 |
<label for="userid" class="required">Username: </label> |
189 |
<input type="text" name="userid" id ="userid" size="20" value="[% userid %]" class="required" required="required" /> |
189 |
<input type="text" name="userid" id ="userid" size="20" title="Please only enter a username of letters and numbers" value="[% userid |html %]" class="required" required="required" /> |
190 |
<span class="required">Required</span> |
190 |
<span class="required">Required</span> |
191 |
</li> |
191 |
</li> |
192 |
<li> |
192 |
<li> |
193 |
<label for="passwordlabel" class="required">Password: </label> |
193 |
<label for="passwordlabel" class="required">Password: </label> |
194 |
<input type="password" name="password" id="password" size="20" value="[% member.password %]" class="required" required="required"> |
194 |
<input type="password" name="password" id="password" size="20" value="[% member.password |html %]" class="required" required="required"> |
195 |
<span class="required">Required</span> |
195 |
<span class="required">Required</span> |
196 |
</li> |
196 |
</li> |
197 |
<li> |
197 |
<li> |