I don't think I explained this toggling issue correctly:
Actually it is not 2 forms. It's 1 form but wish to display 2 different information.(if that makes sense)
As I explained in an earlier post:
The form we are creating is a report form that displays company budget from dept to dept. Now within that report, each Manager needs to provide justification for budget that has been exceeded. The Managers have to provide an analysis of the "current date" and the "Fiscal Year". So I need to have 4 text boxes each to explain "current date" and "fiscal year". So we are deciding to place the "current date analysis on one form and place the "fiscal year" on another form, but would like to toggle between the 2 forms.
So what we did was added the redisplay function:
<script LANGUAGE="javaScript1.2">
functionRedisplay(ITD)
{
varchanged=parseInt(document.VARS.varsChanged.value);
if(changed!=0){
varmsg="The narratives have changed. Do you want to save your current changes?";
if(confirm(msg)){
document.VARS.action="draft.asp";
document.VARS.submit();
}
}else{
if(ITD=="False"){
document.VARS.itd.value="True";
}else{
document.VARS.itd.value="False";
and added a button that allows toggling to the textbox w/ "current month" infor and "To-date" info.