I'm working on a simple auction site as a newbe challenge. I am taking bids
on three static items, none will be added or removed. I have a folder named
bid_records in which there is a folder for each item. These item folders
have current bid information in properties and bid history in ZClass
Scott Butchill wonders if:
"there is a simpler way to do this."
Not much simpler, but how about:
dtml-call "REQUEST.set('user_select', ['walkon', 'fullhouse'])"
dtml-with bid_records
dtml-in user_select
dtml-if "_.str(REQUEST.form['selection']) == _['sequence-item']"
dtml-with
Burchill, Scott B. writes:
I am finding myself doing the following and am sure
there is a simpler way to do this.
Any help would be greatly appreciated! Thanks.
dtml-with bid_records
dtml-if "_.str(REQUEST.form['selection']) == 'walkon'"
dtml-with walkon