fieldList. You are missing a # sign:
if(not isDefined("form.#listGetAt(fieldlist,i)#"))
form[listGetAt(fieldList,i)] = "";
Also note I switched to "dot" notation for the isDefined check. If you
want to use brackets, switch to structKeyExists
if(not structKeyExists(form, listGetAt(fieldlist,i))
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]