I'm not 100% sure how to set this up, so here is what I have:
Code: Select all
if ($configuration angle == plastic_disposable) {
if (strln($disposable_yearly_usage) <=0) {
$error .="You must enter the yearly usage if you are using a Disposable Prophy Angle.<br>";
}
if (strln($disposable_angle_brand) <=0) {
$error .="You must enter the Disposable Angle Brand if you are using a Disposable Prophy Angle.<br>";
}
}configuration angle is the name of the drop down, and plastic disposable is the value of the specific item that will require 2 more fields to be checked in. I just want to make sure I did this correct.