I am successfully using the following code to select a random FSPollQuestion
object to disply on every page:
<dtml-with expr="_.whrandom.choice(Survey.objectValues('FSPollQuestion'))">
<dtml-var vote_small_html>
</dtml-with>
I would like to be able to go one step further and only call those objects
whose "open" value is set to 1.
Any suggestions?
Thanks,
--
Erik Myllymaki
erik@pacific-shores.com