Jump to content

Donate form with comments box


Stevieboy

Recommended Posts

Hi just need a little help. 
I’m using the recommended donate HTML on our basket so customers can add a charity donation to their order. 
I’d like to also make it possible to add a text/comments box so that if they wish to add a note they can and it will show up in the cart. I did try to add to it and managed to get a text box but when clicking ‘Donate’ the comments didn’t show in the basket so I deleted my attempt. This is the basic donate HTML I have so far from Romancart website.:

<form action="https://www.romancart.com/cart.asp"method="post">
<input type="hidden" name="itemname" value="Donation">
Amount to Donate: <input type="text" name="price" value="" size="6">
<input type="hidden" name="storeid" value="10000">
<input type="hidden" name="quantity" value="1">
<input type="submit" value="Donate">
</form>

Link to comment
Share on other sites

Put something like this in your form:

<textarea id="comments" name="comments"
          rows="5" cols="33">
  Please add any comments here.
</textarea>

You will have to parse for this information in your server side code. It depends if the cart.asp page supports extra form field procession. 

BTW, .asp is really old tech! I used to use it .... about 250 years ago! 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...