One would think this life would be easier than it currently is. I mean come on wouldn’t ou think that? Of course you would. So why can’t we each believe in it I for one would want to believe in it. It would give me something to do with my day at least. But well there’s something else on my mind. We have to be able to understand what it is exactly, if we don’t? Then that’s something quite different now isn’t it? Yeah that’s what I was thinking.
I was working on something today... more of a proof of concept. I had a dynamic form from which the user would fill it out and click submit. They would then see if they filled it out correctly.
Well, I got a little stumped for a second or two regarding it... how would I check if the question was processed. Usually I do:
IsDefined("form.fieldname")
But with my question looking like:
answer_#q.question_id#
I couldn't quite do that. CF kept telling me it hated me. (Honest, those were its exact words.)
So I had to figure something out. At first I thought I'd have to use Evaluate... but well would you know that would be the wrong course of action? Ran across a website that told me to do this:
form["answer_#q.question_id#"]
Would you know that it worked? Oh yes it sure did work. So that made my day.
Comments
Post a Comment