<form action="" method="POST">
<input type="hidden" name="qty" value>
<input type="hidden" name="description" value>
<input type="hidden" name="priceeach" value>
<input type="hidden" name="total" value>
<tr>
<td width="25%" bgcolor="#FFEEB3" align="center">
<input type="text" name="qty" size="4"></td>
<td width="25%" bgcolor="#FFEEB3" align="center">
<input type="text" name="item" size="50"></td>
<td width="25%" bgcolor="#FFEEB3" align="center">
<input type="text" name="priceeach" size="8"></td>
<td width="25%" bgcolor="#FFEEB3" align="center">
<input type="text" name="total" size="8"></td>
</tr>
<CFIF isDefined("form.more.x")>
<form action="" method="POST">
<input type="hidden" name="qty" value>
<input type="hidden" name="description" value>
<input type="hidden" name="priceeach" value>
<input type="hidden" name="total" value>
<CFOUTPUT>
<tr>
<td width="25%" bgcolor="##FFEEB3" align="center">
<input type="text" name="qty" size="4"></td>
<td width="25%" bgcolor="##FFEEB3" align="center">
<input type="text" name="item" size="50"></td>
<td width="25%" bgcolor="##FFEEB3" align="center">
<input type="text" name="priceeach" size="8"></td>
<td width="25%" bgcolor="##FFEEB3" align="center">
<input type="text" name="total" size="8"></td>
</tr>
<tr>
<td width="100%" bgcolor="##FFEEB3" colspan="4" height="50">
<p align="left"><small><font face="Arial"><b>
</b></font></small></td>
</tr>
</CFOUTPUT>
</cfif>
<input type="image" src="" name="more" value="more">
<input type="image" src="" name="submit" value="submit">
</form>
-----Original Message-----
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Friday, May 14, 2004 11:40 AM
To: CF-Talk
Subject: Re: CF Isdefined on form click
got some code? :)
----- Original Message -----
From: "Robert Orlini" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 14, 2004 8:23 AM
Subject: CF Isdefined on form click
> I have a form that checks (<CFIF isDefined("form.more.x")>) if the user
clicks a MORE button (<input type="image" src="" name="more"
value="more">). If the button is clicked it adds input form fields that are
qty, description, price, total line.
>
> It works the first time adding a second row with input form fields that
are qty, description, price, total line. It does not work in succession. It
just adds the second row and when I click MORE it refreshes, but does not
add a third row or any other. It just displays the two rows.
>
> Do I need to add a counter of some sort to the <CFIF
isDefined("form.more.x")>?
>
> I'm stumped. This is a new "trick" I'm trying.
>
> Thanks for any suggestions.
>
> Robert O.
> HWW
>
>
>
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

