I insert this bit of code that I found on the web and it works like it should.
<script language=JavaScript>
<!--//
function toggle(what,targetId) {
target = document.getElementById(targetId);
target.style.display = (what.checked)?'':'none';
}//-->
</SCRIPT>
<INPUT onclick="toggle(this,'divtochange');"
type=checkbox value=N name=vehicle>
<DIV id=divtochange style="DISPLAY: none"><INPUT value=test name=color>
<INPUT value=test name=shape> </DIV>
But when i try adding PHPRunner generated forms into the code nothing works.
<script language=JavaScript>
<!--//
function toggle(what,targetId) {
target = document.getElementById(targetId);
target.style.display = (what.checked)?'':'none';
}//-->
</SCRIPT>
<INPUT onclick="toggle(this,'divtochange');"
type=checkbox value=N name=vehicle>
<DIV id=divtochange style="DISPLAY: none"><INPUT value=test name=color>
<INPUT value=test name=shape> {$STORENAME_editcontrol} </DIV>
Well Darn that time it worked.
Ok next question How do I change the color of the textbox. I have some that are yellow and some that are white, I know the yellow is for validation fields but I can't stand the different colors (pet peeve).