My companies wordpress HTML editor is removing html form tags whenever I try to add this search form to the front page via the editor. On my localhost it works fine, but I can't figure out why my companies WordPress is taking it all out.
Here is what I try to add:
<div id="bigSearch">
<form action="#" method="post">
<input type="text" name="keyword" placeholder="Search By Keyword...." />
<div id="statusInputs">
<select class="status" name="statusOne">
<option selected="selected">Status</option>
<option value="foreclosed">Foreclosed</option>
<option value="Mountain View">Mountain View</option>
<option value="Golf Course">Golf Course</option>
<option value="High Speed Access">High Speed Access</option>
<option value="Basement">Basement</option>
<option value="Club House">Club House</option>
<option value="Elevator Access">Elevator Access</option>
</select>
<select class="status" name="statusTwo">
<option selected="selected">Status</option>
<option value="foreclosed">Foreclosed</option>
<option value="Mountain View">Mountain View</option>
<option value="Golf Course">Golf Course</option>
<option value="High Speed Access">High Speed Access</option>
<option value="Basement">Basement</option>
<option value="Club House">Club House</option>
<option value="Elevator Access">Elevator Access</option>
</select>
<select class="status" name="statusThree">
<option selected="selected">Status</option>
<option value="foreclosed">Foreclosed</option>
<option value="Mountain View">Mountain View</option>
<option value="Golf Course">Golf Course</option>
<option value="High Speed Access">High Speed Access</option>
<option value="Basement">Basement</option>
<option value="Club House">Club House</option>
<option value="Elevator Access">Elevator Access</option>
</select>
<select class="status" name="statusFour">
<option selected="selected">Status</option>
<option value="foreclosed">Foreclosed</option>
<option value="Mountain View">Mountain View</option>
<option value="Golf Course">Golf Course</option>
<option value="High Speed Access">High Speed Access</option>
<option value="Basement">Basement</option>
<option value="Club House">Club House</option>
<option value="Elevator Access">Elevator Access</option>
</select>
<select class="status" name="statusFive">
<option selected="selected">Status</option>
<option value="foreclosed">Foreclosed</option>
<option value="Mountain View">Mountain View</option>
<option value="Golf Course">Golf Course</option>
<option value="High Speed Access">High Speed Access</option>
<option value="Basement">Basement</option>
<option value="Club House">Club House</option>
<option value="Elevator Access">Elevator Access</option>
</select>
</div>
<input type="submit" name="submitForm" value="Search" />
</form>
<p id="advanced"><a href="#">Advanced Search</a></p>
</div>
Here is what it spits out on my companies WordPress
<div id="bigSearch">
<form action="#" method="post">
<div id="statusInputs">
Status
Foreclosed
Mountain View
Golf Course
High Speed Access
Basement
Club House
Elevator Access
Status
Foreclosed
Mountain View
Golf Course
High Speed Access
Basement
Club House
Elevator Access
Status
Foreclosed
Mountain View
Golf Course
High Speed Access
Basement
Club House
Elevator Access
Status
Foreclosed
Mountain View
Golf Course
High Speed Access
Basement
Club House
Elevator Access
Status
Foreclosed
Mountain View
Golf Course
High Speed Access
Basement
Club House
Elevator Access
</div>
</form>
<p id="advanced"><a href="#">Advanced Search</a></p>
</div>
Any suggestions while I try to figure it out would be much appreciated...
You can try this plugin to insert html as shortcodes
You would create a shortcode corresponding to search form. And insert it into your post
http://wordpress.org/plugins/insert-html-snippet/