I'm looking for some help with creating a relevance equation with conditions from 2 previous questions, the first of which (A1) is a date picker and the second is a dropdown (B1).
Question B2 should only appear when the date selected is less than 6 months ago AND either the first (A01) or second (A02) option in the dropdown has been selected.
I've been playing about with variations of the below equation and can't seem to get it to work. Any help that anyone can give me would be gratefully received.
((A1 and (strtotime(date('Y-m-d')) - strtotime(A1) < 15811200))) and ((B1.NAOK == "A01" or B1.NAOK == "A02"))
Hi,
I do not know what is the meaning of this:
((A1 and (strtotime(date('Y-m-d')) - strtotime(A1) < 15811200))) and ((B1.NAOK == "A01" or B1.NAOK == "A02"))
but this works (strtotime(date('Y-m-d')) - strtotime(A1) < 15811200) and (B1.NAOK == "A01" or B1.NAOK == "A02")
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless