Answered
Complex values and CFIF
We have a system whereby delegates can elect to attend a
number of workshops. The system uses a Cart system, storing the
selected workshops in a 2d array until the delegate has finished
selecting, at which point the array content is written to a table.
We want to be able to error check if a delegate selects a workshop twice.
The code attached seemed to make sense, until we tried it and found that CF didn't like us using the session.aCart[1] variable as since v2 you can't seemingly use a complex value in this way.
Does anyone have a workaround on this, or any other suggestions on how to catch a duplicate entry?
Kind regards
We want to be able to error check if a delegate selects a workshop twice.
The code attached seemed to make sense, until we tried it and found that CF didn't like us using the session.aCart[1] variable as since v2 you can't seemingly use a complex value in this way.
Does anyone have a workaround on this, or any other suggestions on how to catch a duplicate entry?
Kind regards