Got it working. The form should be submitted with the submit type button. If you try to submit the form using Javascript, it will refresh the whole page, not just the window.
Maybe its a bug, not sure. Thanks for your help Ray. appreciate that. Asim > well thats the problem, I am using the cffrom inside that cfwindow, > and once I just use the submit, the whole form refreshed. > > <cfform name="dataForm" format="html" id="dataForm" action="index. > cfm?fuseaction=#attributes.XFA.btnSubmit#" method="post"> > > <input type="button" name="btnSave" value="Next" > onClick="MM_validateForm('project_name','','R');if(document. > MM_returnValue)document.dataForm.submit();"> > > > Am I doing something wrong here? > > > > > >Err, so wait. You said even if you use cfform, the whole page > >refreshes? That isn't right. > > > > > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4