Guest Posted November 10, 2005 Share Posted November 10, 2005 I am trying to create a contact form for certain members only. I have my admin modded to be able to show or hide site documents, so I can create the form page and all redirect pages without a problem. HOWEVER When I built the form page I clicked "Source" and added the form code under the explaination text. in the redirect part of the form i put this tag <input type=hidden name=redirect value="http://www.mysite.com/main/index.php?act=viewDoc&docId=9999"> (My hidden thankyou page) When you update the document and go to use the form it is replacing http://www.mysite.com/main/index.php?act=viewDoc&docId=999 with http://www.mysite.com/main/index.php?act=viewDoc&docId=999 Therefore when the form tries to send the user to the thankyou page it can not be found because the &docId has been replaced with &docId Any ideas anyone? :P Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 11, 2005 Share Posted November 11, 2005 You could edit the site document through phpMyAdmin. Its not a nice way to do it, but it certainly won't replace & with & Quote Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2005 Share Posted November 11, 2005 Tried that, doesnt work it is still replaced with & maybe this is a mysql thing rather than a cube cart issue. Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 11, 2005 Share Posted November 11, 2005 Perhaps have another go. I am sure you can edit fields with phpMyAdmin and it won't replace & with &. I have done this myself but for slightly different reasons - I wanted to put php code into a site document, and the FCKEditor was stripping anything between <?php and ?>. Or you might want to install this and extend it so that the FCKEditor is not used for site documents (and a textarea is used instead). 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.