Hi all,
I have two radio buttons that the user can select (yes and no). The issue I am having is if they choose the 'Yes' button, I then need to ensure the fill out the field labelled "HowMany'.
Here is what I tried, but it does not work:
if ($ColleaguesUse >0) {
and(strlen($HowMany) >0 and strlen($HowMany) <1)
{
Back();
die("<p align='center'><font face='Arial' size='3' color='#FF0000'>You did not specify how many of your colleagues use ITCM videos.<br><br>Please use the 'Back' button and check Yes.</font></p>");
}
}
and I tried this:
if ($ColleaguesUse >0) {
and if (strlen($HowMany) >0 and strlen($HowMany) <1)
{
Back();
die("<p align='center'><font face='Arial' size='3' color='#FF0000'>You did not specify how many of your colleagues use ITCM videos.<br><br>Please use the 'Back' button and check Yes.</font></p>");
}
}
Anyone have any direction with this issue?
Thanks,
Don