How to set the Fields to Search

This section describes how to modify the fields the user can select to search in the search page, pp_search.htm, part of which is shown below.

If you edit the HTML for pp_search.htm then it appears as below:


Changing what fields are searchable is quite simple. To remove a field simply delete the relevant line, e.g. to prevent the Color field from being searched remove the line <option>Color</option>. To add another field to be searched just add a line like <option>newfield</option>. If you have renamed a field in the pedigree table then simply change the text between the <option> tag abd the </option> tag.

Please note that the field names being referred to are those on the MySQL server. The field names used within your pedigree software, e.g. Pedigree Explorer have no relevance here.