[ic] lost in [if] [log] world...

Kyle Cook interchange-users@interchange.redhat.com
Fri Apr 26 18:49:01 2002


At 03:04 PM 4/26/02, you wrote:
>Okay, I have so far created 2 components that are 'polls' (thanks for
>your info Kevin).  I have a hidden variable called "which_poll" and a
>unique value for each poll.  The purpose of that was I figured I could
>just make one page my 'poll_results' page.  Here's what I have on the
>results page:

<SNIP>

>2. is there a way to DUMP the value of "which_poll" either in the [if]
>or after it?  Wouldn't that allow the second poll to assign the value of
>that variable and correct the double entries?

Value will be set in the session, you can set value to null (or to a value)
using [value which_poll set="" hide=1]

Also you could switch to using cgi as the type in the if tag to check
what was posted (vs the actual value in the session)

Kyle


>As always, thanks!  (new design is coming along well :-)
>   _____
>
>Sincerely,
>Aaron Hazelton
> >>Hazenet<<
>aaron@hazenet.net
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users