We do this quite often. After building your form try... <script> form.submit(); </script>
Cutter Jay Kufner wrote: >Hello everybody- > > > >I'm sure this is one of those "I've been working for to long and I've >overlooked the answer 100 times" sort of questions. > > > >I've built a shopping cart and I'm trouble shooting the form submission. The >Payment gateway is Authorize net. The problem comes when submitting the >customers' order and credit card information: > > > >In addition to the customers Information, Authorize net requires you to >submit specific form fields, some of which are sensitive passwords, and >access codes. Obviously I can't hard code the information as hidden fields >in the html form, anybody who viewed the source code would see the sensitive >material. > > > >I want to take the form the user filled out, submit it to a CF template, add >the sensitive data, then submit the augmented form to the Authorize net >gateway (which requires a FORM submitted via Post to >https://secure.authorize.net/gateway/transact.dll), > >AND that brings me to my question: How do I post a form to this address with >out having a user hit the submit button. How do I post a form from the >coldfusion server to that address? > > > >As always, thanks in advanced for your help! > > > >Jason > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4