aliashippysmom
Programmer
Hi! I do a database retrieval and load variables with the values like this:
I have a form with this:
This works fine. I am having a problem with the input form to load a text input field.
Neither of these work:
Does this make sense and does anyone have any suggestions on how I can load the text input fields?
Thanks!
Code:
<cfoutput query="get_data">
<cfset "Oversight_#x#_#y#" = #Oversight#>
<cfset "Program_#x#_#y#" = #Program_Operation#>
</cfoutput>
Variables x and y are columns in the database table.
Code:
<input <cfif #evaluate("Oversight_" & "#x#" & "_" & "#y#")# IS "yes">checked</cfif> value="yes" type="checkbox" name="oversight_#x#_#y#">
Neither of these work:
Code:
<input value="#evaluate(""Delivery""_x_y)#" name="delivery_#x#_#y#" type="text" size="4">
<input value="#Other_" & "#evaluate(pa_id)#" & "_" & "#evaluate(spa_id)##" name="other_#pa_id#_#spa_id#" type="text" size="5">
Thanks!