Hi Shawn,
Thanks for clarifying, I understand more clearly what you're trying to do now.
My first suggestion would be to change the name of the "removeDate" field so that it doesn't trigger the automatic removal in getRecords; for the sake of example I'll call it "removeAfter". It should still be a date type field. (Alternatively, if you want to keep the field name so that you can selectively use the automatic removal, there is an "ignoreRemoveDate" parameter that can be used with getRecords to ignore removeDate as needed).
You can then use something like the following to manually filter the date:
<?php foreach ($bhs_promoRecords as $record): ?>
<?php if (($record['hidden'] == '0' || $record['hidden'] == '') && strtotime($record['removeAfter']) > time()): ?>
Content here...
<?php endif ?>
<?php endforeach ?>
This will require both conditions to be true: the record is not hidden, and the removeAfter date is in the future.
Let me know if you have any further questions, or run into any issues setting this up.
Thanks!
Daniel
Technical Lead
interactivetools.com