Can you please use correct grammar and spelling? I can't understand you a bit.
Since I couldn't understand you, I've made a one examples for you. (Of what I thought you want)
Radio Checkbox, changes inputs(this one is not in an html form, although its simple to make it into one. Its also, well I made it a phone number script, easy to change too).
HTML Code:
<script type="text/javascript">
function changeRadio(el,cell){
if(el.checked="yes"){
document.getElementById('hidden').innerHTML=((cell)? 'Cell: ' : 'Home: ')+'<input type="text" />';
} else {
document.getElementById('hidden').innerHTML='';
}
}
</script>
<h2>Please fill in your phone data</h2>
Home Phone: <input type="radio" onClick="changeRadio(this,false);" name="phone"/><br />
Cell Phone: <input type="radio" onClick="changeRadio(this,true);" name="phone"/><br />
<span id="hidden"></span>
Bookmarks