Stevieboy Posted May 29, 2020 Report Share Posted May 29, 2020 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> Quote Link to comment Share on other sites More sharing options...
administrator Posted May 29, 2020 Report Share Posted May 29, 2020 You need to ad another input type = text so that people can add the comment. Quote Link to comment Share on other sites More sharing options...
Stevieboy Posted May 29, 2020 Author Report Share Posted May 29, 2020 Yeah tried but just couldn’t get it to work. Was hoping to get some assistance Quote Link to comment Share on other sites More sharing options...
administrator Posted June 3, 2020 Report Share Posted June 3, 2020 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.