Page 1 of 1

Text field code is deleted upon saving

Posted: Wed Feb 20, 2008 4:25 pm
by ComputerMedics
I have a page where I need to have the following code inserted into a page. The code allows a visitor to insert a key given to them by a technician, once entered by the user a small exe file is downloaded. It's worked well for us on a plain html site for years.


<form method="post" action="http://computermedicslive.com/cgi-bin/r ... /index.cgi">
<div align="center"><font color="#FF0000"><img src="images/step2.gif" width="150" height="23"><br>
<input type="text" name="key" size="20">
<br>
<input type="submit" name="submit" value="Start Session">
</font></div>
</form>

After I place it in the page and save it, all of the code above is removed except for the line:

<img src="http://computermedicslive.com/images/step2.gif" alt="" width="150" height="23" />

What do I need to do to get this to work?

The site is computermedicslive.com

Any help would be greatly appreciated.

Re: Text field code is deleted upon saving

Posted: Wed Feb 20, 2008 7:43 pm
by Raydian
How are you inserting that code? Are you using a module? Try turning off any editors you may be running.

Re: Text field code is deleted upon saving

Posted: Thu Feb 21, 2008 6:37 am
by ComputerMedics
You've led me in the right direction. I've disabled the editor and can work directly with the code. Sometimes it's the simplest of things!