Give the blank row button a unique name.  The name of the button will only be passed if it is pressed.

<!--- If blank row button was pressed, add the extra row  --->
<cfif isDefined('uniqueName')>
        <tr><td>checkbox</td>
            <td>checkbox</td>
            <td>dropDown</td>
</cfif>

If the form posts to another template, you will need to test for the existence of uniqueName in the processing template.  If it does exist, use cflocation to call the form template with uniqueName as a URL variable.

Hope this helps,
Jeff

At 6/7/2001 08:12 AM, you wrote:
I would like to create a table which would contain a dropdown and checkboxes.  No problem, I can do that.  But I would like to have a button on the page that will add a blank row to the table which also contains the checkboxes and dropdown.  The dropdown will be populated from a database.  Any ideas?

Jeff Mayfield

Wirehead Technologies
1515 N. Town East Blvd.
Suite 138-442
Mesquite Tx.  75150
v 972-698-8550
f 972-698-8551

Reply via email to