I have the following code:
<cfoutput query="GETlist">
<tr><td>#description#</td><input type="hidden" name="siteID" value="#siteID#">
<td><<input type="Text" name="username" size="10" maxlength="25" value="#username#"></td>
<td><input type="Text" name="password" size="10" maxlength="25" value="#password#"></td>
<td><input type="Text" name="adID" size="10" maxlength="50" value="#adID#"> <input type="Submit" name="action" value="submit"></td>
</tr>
</cfoutput>
Let us say that the query yields six rows of result. The codes output a submit button at the end of each row. As it is, any of the six buttons act on inputs from all the six rows. I want each button to act on only the row connected to it. How can I achieve that?
Thanks
<cfoutput query="GETlist">
<tr><td>#description#</td><input type="hidden" name="siteID" value="#siteID#">
<td><<input type="Text" name="username" size="10" maxlength="25" value="#username#"></td>
<td><input type="Text" name="password" size="10" maxlength="25" value="#password#"></td>
<td><input type="Text" name="adID" size="10" maxlength="50" value="#adID#"> <input type="Submit" name="action" value="submit"></td>
</tr>
</cfoutput>
Let us say that the query yields six rows of result. The codes output a submit button at the end of each row. As it is, any of the six buttons act on inputs from all the six rows. I want each button to act on only the row connected to it. How can I achieve that?
Thanks