How to make a radio button a required field

  • Thread starter Thread starter pete0085
  • Start date Start date
P

pete0085

I have a simple form with two radio buttons as options, is there a way I can
make this a required field, meaning the user must select one or the other?

Sick:</b> <input type="radio" name="OBKey__148_1" value="Sick
<b>Absence:</b> <input type="radio" name="OBKey__148_1" value="Absence">
 
Assuming you're using Frontpage (and haven't miss-posted an Expression Web
question):

I no longer use FP but I think if you right click the radio button, and go
to the field properties, the feature to make it "required" is in the field
properties dialogue.


Note that Expression web doesn't have the field validation that Frontpage
has.
 
I am using front page 2003 and did notice that option but it didn't seem to
do anything unless it was not configured correctly.
 
The FP validation uses Javascript; so make sure you have javascript enabled
in your browser, and test the page with the form on your web server, it
won't work off line, because it sounds like you're using the form web-bot,
and it needs to be on the server with FP extensions to process the form.
 
Back
Top