Re:Form and hidden variable question

2003-10-20 Thread ColdFusion Programmer
Makes no difference, the value in the hidden variable is still empty. I tried this is in subme function:

document.frm.txtarea1.value = document.frm.outputselection.value;

On form submission, I see the textarea briefly populated with the value in the hidden variable but it dissapears when the form is fully submitted. Should I be adding something between the textarea tag? textareaSomething/textarea
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Form and hidden variable question

2003-10-20 Thread ColdFusion Programmer
actually Hugo, setting the return to false does do the trick. Sorry about that. In the function I'm returning true and it displays the value in the hidden variable in the textarea.

document.frm.txtarea1.value = document.frm.outputselection.value;
return true;

input NAME=submitbutton TYPE=submit  return false; VALUE=Calculate

Many Thanks for your help
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]