I'm working with a .PHP file which holds a form.

this form allows the user to choose:
-Categories
-SubCategories
-A Price Range

or input:
- Search Keywords
- Search Location

when the user presses the submit button,
content displayed from another .PHP file is updated.


Is there a way for me to split a form like this, up into different php files for each function of the form. For example, one .PHP file for categories, subcategories, search keywords, etc...




<form>

<select name="category">
<option> </option>
</select>

<select name="subcategories">
<option></option>
</select>

<select name="priceRange">
<option></option>
</select>


<label class="keywordSearch">
<input> </input>
</label>


<label class="locationSearch">
<input></input>
</label>


<input type='button'>Search</input>

</form>