Try something like this: document.MyForm.MyField.value = document.MyForm.MyField.defaultValue;
Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com -----Original Message----- From: Paul Ihrig [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 9:42 AM To: CF-Talk Subject: JS :: Reset Specific field. hello i want to be able to reset specific fields to their default values based on other fields selected i can reset all the fields in a form by doing this. <input type="radio" name="radio1" id="radio1" value="Toggle Disable" onClick="document.Add_WorkOrder.reset();"> but say i only want to reset Print_Type_ID i cant seem to get it to work. have tried onClick="document.Print_Type_ID.reset(); but i get document.Print_Type_ID is NULL or not an object. any ideas? -paul ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

