|
Lines 19-24
Link Here
|
| 19 |
<option value='streettype,address,address2,city,state,zipcode,country'>Street Address</option> |
19 |
<option value='streettype,address,address2,city,state,zipcode,country'>Street Address</option> |
| 20 |
<option value='dateofbirth'>Date of birth</option> |
20 |
<option value='dateofbirth'>Date of birth</option> |
| 21 |
</select> |
21 |
</select> |
|
|
22 |
<script type="text/javascript"> |
| 23 |
$("#searchfields").change(function() { |
| 24 |
if ( $(this).val() == 'dateofbirth' ) { |
| 25 |
[% IF dateformat == 'us' %] |
| 26 |
[% SET format = 'MM/DD/YYYY' %] |
| 27 |
[% ELSIF dateformat == 'iso' %] |
| 28 |
[% SET format = 'YYYY-MM-DD' %] |
| 29 |
[% ELSIF dateformat == 'metric' %] |
| 30 |
[% SET format = 'DD/MM/YYYY' %] |
| 31 |
[% END %] |
| 32 |
|
| 33 |
$('#searchmember').qtip({ |
| 34 |
content: 'Dates of birth should be entered in the format "[% format %]"', |
| 35 |
style: { |
| 36 |
tip: 'topLeft' |
| 37 |
} |
| 38 |
}) |
| 39 |
} else { |
| 40 |
$('#searchmember').qtip('destroy'); |
| 41 |
} |
| 42 |
}); |
| 43 |
</script> |
| 22 |
|
44 |
|
| 23 |
<label for="orderby">Order by:</label> |
45 |
<label for="orderby">Order by:</label> |
| 24 |
<select name="orderby" id="searchorderby"> |
46 |
<select name="orderby" id="searchorderby"> |
| 25 |
- |
|
|