> I've changed it into a function now.. > > <cfformitem type="script"> > function Send_Email() > { > > getURL("javascript:NewWindow=window.open('adjustments.cfm','newWin'); > NewWindow.focus(); void(0);"); > onclick='alert("Make sure you are changing the Weekly > Commission > Start Date as well!")'; > } > </cfformitem> > > <cfinput name="close_period_jump_start" id="close_period_jump_start" > type="checkbox" label="Close Jump Start Pay Period" > onclick="Send_Email();"> > > but it's still failing to load the form at all.
You have "onclick=alert" in the function. Don't you just want the alert? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325954 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4