tiredntroubled 0 Newbie Poster

Hi all,
I am working on a coldfusion form. Within the form the user will enter data. (If they open an existing record, they will then be udpating the record). I want one textfield to have data coming from the database, when the record is opened for the first time. The user can edit this information, and at that point, I would like the user information entered in the field. Below is the code to load the data initally.

<input name="textfield1" type="text" class="textfield" value="query.name">

If someone can help me with this I'd appreciate it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.