Ever stop to wonder what’s in a simple day like today? There’s no guarantee that today will bring about anything substantial. In fact, today could be a big flop on the ground and no one would notice. I don’t know how any of that tends to work out though. It’s life right? Oh life, what are you even on about? I don’t understand you at times. It would be nice to be able to grasp something, even if it’s out of thin air, to understand and realize what that’s all about. But alas I cannot do that. It is life after all, and we cannot really understand anything that comes our way. If I had the ability to realize my own potential, I think I could benefit from it all. But I don’t know how to do that. It’s a shame really, to want to be able to do something with this life and then to be stuck without any reason for it? Yeah, no bueno.
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