How do you make a question in a form un-optional?

How do you make a question in a form un-optional?
VR|46
I dont get what your asking but
http://habboxforum.com/showthread.php?t=26889
A tutorial writen by Mentor
I mean you have to fill it in before you can send the form.
VR|46
just check the field has been filled in..
Edit: Put that just after you get the vars from the user.PHP Code:<?php
if($pet == '') die('You did not fill in one of the required fields.');
?>
Last edited by nets; 08-01-2006 at 04:45 PM.
kinda quit.
orthe ! just check that the string $pet contains data..PHP Code:if(!$pet) {
echo "You did not fill in one of the required fields!";
exit();
}
I do that with php anyway since I usually include the html form in with the php document and use a javascript alert to warn them what needs filing in![]()
My host dont allow php so whats the jv one?
VR|46
If you dont have php how are you doing form?Originally Posted by DJ-Simpson
My host dont allow php so whats the jv one?
Want to hide these adverts? Register an account for free!