Forums

DB Read Conditions

tshirley 25 Nov, 2014
Hello,

I am trying to write a condition in a DB Read action that works with two fields, but I can't get it to work.

<?php
    return array( 'booleanDBField' and 'DBField' => $form->data['Form_Field']);
?> 


If I use a single condition it works but the "and" does not.

I expect this is a simple syntax problem, sorry to trouble you.

Cheers
BNDragon 25 Nov, 2014
Answer
Hi tshirley,

Please, take a look in this FAQ.

BN
tshirley 25 Nov, 2014
Thank you, that is exactly what I was looking for.

Cheers
This topic is locked and no more replies can be posted.