Hi, I'm making a website and with a form but firefox keeps displaying unwanted text in the input fields when its value is empty. This happens when using email or tel in the input method.
<form action='locatie.php?root=<?php echo $root; ?>' target='_self' method='post' onSubmit='return checkForm()' >
<table style='width:725px;' id='text' border='1'>
<tr>
<td colspan='7'></td>
</tr>
<tr>
<td colspan='7' ><hr /></td>
</tr>
<tr>
<td style='width:100px;' ><label for='locatie' >Locatie naam: </label></td>
<td style='width:140px;' ><input type='text' name='locatie' id='locatie' value='' placeholder='locatie naam' maxlength='20' size='20' /></td>
<td style='width:8 0px;' ><label for='adres' >Adres: </label></td>
<td colspan='4'><input type='text' name='adres' id='adres' value='' placeholder='Adres locatie' maxlength='30' size='30'/></td>
</tr>
<tr>
<td><label for='beheer' >Beheerder: </label></td>
<td ><input type='text' name='beheer' id='beheer' value='' placeholder='Beheerder naam' maxlength='21' size='20' /></td>
<td><label for='tel' >Tel nr: </label></td>
<td style='width:140;' ><input type='text' name='tel' id='tel' value='' maxlength='13' size='12' /></td>
<td style='width:80px;' >Email:</td>
<td colspan='2'><input type='text' name='email' id='email' value=' ' placeholder='Email beheer' maxlength='31' size='20' /></td>
</tr>
<tr>
<td style='vertical-align:top;' ><label for='route' >Route beschrijving: </label></td>
<td style='vertical-align:top;' colspan='6'><textarea name='route' id='route' value='' placeholder='Google maps link met route' cols='75' rows='10' ></textarea></td>
</tr>
<tr>
<td colspan='7'> </td>
</tr>
<tr>
<td ><label for='ondergrond' >Ondergrond: </label></td>
<td ><select name='ondergrond' id='ondergrond' >
<option value='Veld' >Veld</option>
<option value='Zaal' >Zaal</option>
<option value='Kunstgras' >Kunstgras</option>
</select>
</td>
<td><label for='seizoen' >Seizoen: </label></td>
<td><select name='seizoen' id='seizoen' >
<option value='Veld' >Veld</option>
<option value='Zaal' >Zaal</option>
</select>
</td>
<td colspan='3'></td>
</tr>
<tr>
<td colspan='7'><input type='submit' name='action' id='action' value='Opslaan' /></td>
</tr>
<tr>
<td colspan='7'><hr /></td>
</tr>
</table>
</form>
In firefox, the input field will contain the text "Enter your phone number here" or "Enter your email here" which I dont want . Is there any way to prevent firefox from doing this except for adding content to the input?
If added the whole form, the rest of the page contains a lot of php that just saves the form to a database.