View Full Version : Searchable schools in a district


mtomo
04-08-2008, 01:31 PM
Hi,
I'd love to add a 'school' field on the rigistration page such that one will enter a school name or choose from a dropdown list when registering. This could save me from creating a separate folder and database for each school in the district because my databases are limited. How can I go about that?

Jafo
04-09-2008, 08:49 AM
You could add another field in the xml/profile.xml file similar to:

<field>

<title>school_district</title>

<description>What school did you attend?</description>

<option value="ridgemont">Ridgemont High</option>

<option value="riverdale">Riverdale</option>

<option value="etc">etcetera</option>

<type>select</type>

<default_value>ridgemont</default_value>

<required>1</required>

</field>Make sure you make a backup copy of the profile.xml file before you do this. You can then force required fields to be filled out.