Hi,
I'm going straight to the point.
I have 2 elements in a form;
Here is my settings for the 'status' element;
Calculation;
I set AJAX calculation to Yes. And set the AJAX observe fields to '{event___test}'.
Then I realised that {members___student_id} is from another table. Now I dont know what to do.
Help!
I'm going straight to the point.
I have 2 elements in a form;
- Field element = 'test'
- Calc element = 'status'
Here is my settings for the 'status' element;
Calculation;
PHP:
$student_id = '{members___student_id}';
$input_id = '{event___test}';
if ($input_id == "")
{
return "Enter Student ID";
}
else if ($input_id == $student_id)
{
return "VALID";
}
else
{
return "INVALID";
}
I set AJAX calculation to Yes. And set the AJAX observe fields to '{event___test}'.
Then I realised that {members___student_id} is from another table. Now I dont know what to do.
Help!