Required fields referring back to checkbox

V

Virginia

I have a number of fields that need to be required ONLY if a checkbox is
checked first, to indicate the visitor is using this option. Is this possible
in FP without a lot of extra programming? I don't know how to have the other
fields refer to the check.

example:
[checkbox] Yes, I am using this option.
[textbox] info only required if checkbox is checked.

Thanks!
Virginia
 
D

Dan L

The message "info only required if checkbox is checked." will appear in the
text box if you use value="info only required if checkbox is checked.".

Example:
<input type="TEXT" name="Whatever" value="info only required if checkbox is
checked" value size="55">
 
V

Virginia

Sorry, Dan. Maybe I wasn't clear.
I'm not worried about the message. What I'm looking for is to be able to
have a range of input fields refer back to a checkbox, to see if they are
required information. If the checkbox value is ON, then the following fields
need to be filled in.

Virginia

Dan L said:
The message "info only required if checkbox is checked." will appear in the
text box if you use value="info only required if checkbox is checked.".

Example:
<input type="TEXT" name="Whatever" value="info only required if checkbox is
checked" value size="55">

Virginia said:
I have a number of fields that need to be required ONLY if a checkbox is
checked first, to indicate the visitor is using this option. Is this possible
in FP without a lot of extra programming? I don't know how to have the other
fields refer to the check.

example:
[checkbox] Yes, I am using this option.
[textbox] info only required if checkbox is checked.

Thanks!
Virginia
 
D

Dan L

Maybe this "required fields" javascript can be customized to alert users that
if a checkbox is checked, then an entry in a text box is required.

http://www.developertutorials.com/t...red-fields-javascript-check-050416/page1.html

Virginia said:
Sorry, Dan. Maybe I wasn't clear.
I'm not worried about the message. What I'm looking for is to be able to
have a range of input fields refer back to a checkbox, to see if they are
required information. If the checkbox value is ON, then the following fields
need to be filled in.

Virginia

Dan L said:
The message "info only required if checkbox is checked." will appear in the
text box if you use value="info only required if checkbox is checked.".

Example:
<input type="TEXT" name="Whatever" value="info only required if checkbox is
checked" value size="55">

Virginia said:
I have a number of fields that need to be required ONLY if a checkbox is
checked first, to indicate the visitor is using this option. Is this possible
in FP without a lot of extra programming? I don't know how to have the other
fields refer to the check.

example:
[checkbox] Yes, I am using this option.
[textbox] info only required if checkbox is checked.

Thanks!
Virginia
 
Top