S
Steve
HI All...been a while since I was last here.
FP2002
I am trying to use some javascript to validate fields in a form based on an
option being selected. (I don't think I can do this using the FP validation
stuff.)
The validation is working for the options fields, so I will just show the
conditional code I am trying to develop:
// check to see if the field is blank
if (theForm.paymentOption.value == "V1")
{
if (theForm.test1.value == "")
{
alert("You must enter an alias.");
theForm.test1.focus();
return (false);
}
}
This is not working, and I can't seem to find the cause. If anyone has any
ideas, I would should appreciate the help.
Steve G.
FP2002
I am trying to use some javascript to validate fields in a form based on an
option being selected. (I don't think I can do this using the FP validation
stuff.)
The validation is working for the options fields, so I will just show the
conditional code I am trying to develop:
// check to see if the field is blank
if (theForm.paymentOption.value == "V1")
{
if (theForm.test1.value == "")
{
alert("You must enter an alias.");
theForm.test1.focus();
return (false);
}
}
This is not working, and I can't seem to find the cause. If anyone has any
ideas, I would should appreciate the help.
Steve G.