Should local variables work for check_yes_no?
e.g.
Code:
program:
k = $$#kobocoll;
o = field('#onkobo');
if check_yes_no(o, 0, 1, 0) then 'sync.png'
elif check_yes_no(o, 0, 0, 1) then
if list_contains(k, ',', '^Kobo Store$', '1', '') then 'drm-locked.png'
elif list_contains(k, ',', '^Send to Device$', '1', '') then 'sync.png'
else 'reader.png'
fi
fi
results in null values where putting in the
check_yes_no('#onkobo', x, x, x) gives results