Developer forum

Forum » Development » Donation submitter

Donation submitter


Reply

    Hi,

 

 

I wan't to make a user donation form.

 

The user should then type in the amount on the donation in an input-box.

 

And the submit it.

 

The product value in set at 1kr. so the Quantity is the indicator for the hole amount.

 

form id="multiForm" method="post" name="multiForm"
input id="CartCmd" type="hidden" name="CartCmd" value="addMulti" /
input id="add" type="hidden" name="CartCmd" value="add" /

!--@Ecom:Product.Number--
!--@Ecom:Product.Name--
!--@Ecom:Product.Price.Price--
 
input name=Quantity!--@Ecom:Order.OrderLines.TotalQuantity-- value="0" type="text" /
input type="submit" value="Submit"
/form

 

What am I doing wrong ?

 

:/


Replies

 
Reply
rs@jurland.com wrote:

    Hi,

 

 

I wan't to make a user donation form.

 

The user should then type in the amount on the donation in an input-box.

 

And the submit it.

 

The product value in set at 1kr. so the Quantity is the indicator for the hole amount.

 

form id="multiForm" method="post" name="multiForm"
input id="CartCmd" type="hidden" name="CartCmd" value="addMulti" /
input id="add" type="hidden" name="CartCmd" value="add" /

!--@Ecom:Product.Number--
!--@Ecom:Product.Name--
!--@Ecom:Product.Price.Price--
 
input name=Quantity!--@Ecom:Order.OrderLines.TotalQuantity-- value="0" type="text" /
input type="submit" value="Submit"
/form

 

What am I doing wrong ?

 

:/

Hi
 

 

Could you be more specific about what you expect to happen and what actually happens?

It looks like you're trying to 'Add' and 'AddMulti' at the same time, which doesn't seem feasible.

 

 - Lasse

 

You must be logged in to post in the forum