Form validation

W

Wercs

Using FP2002,

I've a form that needs to make a checkbox field compulsory. Other fields
(text boxes etc) are easy to validate, but there doesn't seem to be that
option for a checkbox.

Help appreciated.
TIA
 
D

Don

Change the "Checkbox" to an "Option Button" and then you can validate that
like a text field... (well I think it only gives you the choice of "data
required")

For text fields look here.
http://www.xmas-i-am.com/validation.htm

Don
====================
| Tnx, but that page is not accessible, though I did find something at
|
http://msdn.microsoft.com/library/d...c_fpValidatingFormControlsUsingJavaScript.asp
|
| Rather long-winded. Isn't there a simpler way?
|
|
| | > Form validation:
| > ===============
| > try this article
| >
| >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_
| > ta/html/odc_fpValidatingFormControlsUsingJavaScript.asp
| >
| > Hope this helps
| > regards
| > Hrishi
| > MSFT
| >
| > This posting is provided "as is" with no warranties and confers no
rights
| >
|
|
 
W

Wercs

Tnx. Not exactly what I wanted but it did get me thinking differently. I
changed it to a drop-down list & validated that selection. Works too!

Cheers,
 
D

Don

Glad it got solved.....

Don
====================
| Tnx. Not exactly what I wanted but it did get me thinking differently. I
| changed it to a drop-down list & validated that selection. Works too!
|
| Cheers,
| --
| Wercs.
|
| (rot13 email)
|
| | > Change the "Checkbox" to an "Option Button" and then you can validate
that
| > like a text field... (well I think it only gives you the choice of "data
| > required")
| >
| > For text fields look here.
| > http://www.xmas-i-am.com/validation.htm
| >
| > Don
| > ====================
| > | > | Tnx, but that page is not accessible, though I did find something at
| > |
| >
http://msdn.microsoft.com/library/d...c_fpValidatingFormControlsUsingJavaScript.asp
| > |
| > | Rather long-winded. Isn't there a simpler way?
| > |
| > |
| > | | > | > Form validation:
| > | > ===============
| > | > try this article
| > | >
| > | >
| >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_
| > | > ta/html/odc_fpValidatingFormControlsUsingJavaScript.asp
| > | >
| > | > Hope this helps
| > | > regards
| > | > Hrishi
| > | > MSFT
| > | >
| > | > This posting is provided "as is" with no warranties and confers no
| > rights
| > | >
| > |
| > |
| >
| >
|
|
 
Top