Populating a cftextarea with a value of a radio button / using a Oracle DB
I'm creating a form. A user selects a radio button and then inputs information related to the radio button he/she selects into the cftextarea.
When a user comes back to the form, if a radio button has been already selected, the radio button is checked and the cftextarea has the information the user inputted for that particular radio button (cftextarea would then be disabled).
I have the radio button function working, but how can I display the stored information in the oracle database into the cftextarea? And have it so, that if the user selects a none disabled radio button, the user will have a non disabled cftextarea to input information.
The <cfquery's> and the <cfif's> may be a bit clunky. I'm learning!!!!! val.txt
Web Development SoftwareJavaScriptColdFusion Language
Last Comment
erikTsomik
8/22/2022 - Mon
erikTsomik
just do this
#queryname goes here.fieldname#
rccscalum
ASKER
Would I have to do any so if someone selects a none-disabled radio button they would have an empty
For example I was doing this.
#val_hits1.val#
But that didn't work. It kept the value of #val_hits1.val# in the It didn't change when I selected another radio button.
#queryname goes here.fieldname#