Jason King said the following on 01/26/2012 11:15 AM:
Probably a stupid question really, but what about cfml in the form itself? For instance, I may want a different form field displayed based on a user's account setting, so in many forms, the display code itself also has cfml if/then's based on supplied variables.
That's display logic and CFML is perfectly fine there. It would be a different story if you had to use sq in the middle of the form to retrieve some user value - you'd do that in the controller talking to the model layer.

--
Peter J. Farrell
[email protected]
[email protected]
http://blog.maestropublishing.com
Identi.ca / Twitter: @maestrofjp

--
online documentation: http://openbd.org/manual/
  google+ hints/tips: https://plus.google.com/115990347459711259462
    http://groups.google.com/group/openbd?hl=en

    Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012

Reply via email to