@phpnoviceApr 04.2005 — #... checks to see if a radio button as been selected before submitting information. [/QUOTE] "[b][u][i]before[/i][/u][/b]" submitting the form? That can only be accomplished with JavaScript. PHP can only look at the form [b][u][i]after[/i][/u][/b] it has already been submitted. This is OK, though, because PHP can just send it back for any needed corrections.
I missed that, mine would be on submission (to a handler page for example). Then could be sent back to the beginning with a note to complete the form in total.
@ffurnaiApr 04.2005 — #OK, this is just quick but hopefully will illustrate the idea.
file one, the one with the form (I named it button.php) [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.wx.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<div align="center"><input type="submit" name="submit" value="Hook it up!" /></div>
</form>
</body> </html>[/code]
and the "handler". The page that the form submits to, this is a checker to make sure that the form was filled out correctly (I called it handler.php). [code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.wx.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">