Back to the original question, I would like to add a text field on the checkout confirmation for users to type in "Where they found us" - so obviously a simple yes/no field isn't going to work here.
I have modified the template file [ tpl_checkout_confirmation_default.php] to a. give me a new textarea b. run some javascript
I was *hoping* that I could just append this string to the "comments" hidden input field which is output earlier on the page. I *can* but it doesn't write it all to the database. bugger!
I am quite happy simply to append this data to the [ comments ] value, this keeps it pretty simple and doesn't require new database fields or the like.
But obviously this looks like it needs to be done some other way. If it cant be done dynamically with scripts then I gather I would need to modify the php code on the next executing page - so I was wondering if any ZC experts could point me to the next file.
Any recommendations (ie modify the array, or just append the inserted database value, or.....etc!) welcome.
Ta, Adrian



