> From: Robert Orlini
>
> 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.

Form.Field.X and Form.Field.Y are only sent if you have a <INPUT
TYPE="image" - if somebody hits return, then it's not passed at all

Try putting a hidden field in the form and checking for that, rather
than checking on the name of the submit button
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to