I have a cfform
with dynamically populated text fields. This is all inside of a logged in portal. If the database is empty when the user arrives at the form, I would like the fields to be "enabled" so they may fill out the information and submit the form. However, if they have already done so previously and the database is populated, I would like the fields to be "disabled".
Essentially, I'm wanting:
<cfscript>
if (isDefined("query.column"))
{
disable the cfinput fields
}
Is this possible? If not, any ideas on how to accomplish this?