Jump to content

error checking form


jobs1109

Recommended Posts

HI,

 

How can I make sure that this form is filled out correctly and no blank imputs ?

 

Here is the form

 




<table bgcolor="068e0d">


<tr><td style="width: 265px">
Job Title: <span class="style2">*</span></td><td><input type="text" name="Job-Title" style="width: 196px" /><span class="style2">
</span><br><br>
</td></tr>

<tr><td style="width: 265px">
Company: <span class="style2">*</span></td><td><input type="text" name="Company" style="width: 196px" /><span class="style2"> 
</span><br><br>
<td></td>

<tr><td style="width: 265px">
Salary: <span class="style2">*</span></td><td> <input type="text" name="Salary" style="width: 196px" /><br><br>
</td></tr>





<tr><td style="width: 265px">
Description: <span class="style2">*</span></td><td>
<textarea rows="17" cols="50" name="Description" wrap="physical" border="0">Description:</textarea>
<br><br>
</td></tr>






<tr><td style="width: 265px">
Company URL: <span class="style2">*</span></td><td><input type="text" name="Company-URL" style="width: 196px" /><br><br>
</td></tr>

<tr><td style="width: 265px">
Phone Number: <span class="style2">* </span> </td><td><input type="text" name="Phone-Number" style="width: 196px" /><br><br>
</td></tr>


<tr><td style="width: 265px">
Address: <span class="style2">*</span></td><td><input type="text" name="Address" style="width: 414px" /><br><br>
</td></tr>

<tr><td style="width: 265px">
Requirements: <span class="style2">*</span></td><td>
<textarea rows="17" cols="50" name="Requirements" wrap="physical">Requirements:</textarea>
<br><br>
</td></tr>








<tr><td style="width: 265px">
Job Category: <span class="style2">*</span></td><td><?php
include'Jobs-Category.php';
?><br><br>
</td></tr>


<tr><td style="width: 265px">
Job Type: <span class="style2">*</span></td><td><?php
include'Job-Type.php';
?>
<br><br>
</td></tr>

<tr><td colspan="2">
                                                                           
<input type="submit" value="Preview Job" />
<input type="reset" value="Reset"><br>
</td></tr>



</table>




Link to comment
https://forums.phpfreaks.com/topic/243071-error-checking-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.