can you see it using form variable? form.due_date
-----Original Message----- From: John Gedeon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:27 PM To: CF-Talk Subject: Wierd Form Error i am using cf_formurl2attributs call I have a javascript function: function mkdate() { monBox = document.trf.month; dayBox = document.trf.day; yearBox = document.trf.year; var month = monBox.options[monBox.selectedIndex].value; var day = dayBox.options[dayBox.selectedIndex].value; var year = yearBox.options[yearBox.selectedIndex].value; var ddate = month + "-" + day + "-" + year; document.trf.due_date.value = ddate; } and select boxes <select name="month" onchange="mkdate();"> <option value="0" selected>Mon <option value="1">Jan <option value="2">Feb <option value="3">Mar <option value="4">Apr <option value="5">May <option value="6">Jun <option value="7">Jul <option value="8">Aug <option value="9">Sep <option value="10">Oct <option value="11">Nov <option value="12">Dec </select> <select name="day" onchange="mkdate();"> . </select> <select name="year" onchange="mkdate();"> . </select> <input type="hidden" name="due_date" value=""> And so on the submit I try to access attributes.due_date like any other form or url variable and it tells me it doesnt exist. In the cf debug info due_date is listed as a form field but it is not included in the form fieldnames variable. When I changed the name from due_date to ddate it worked anyone know why? John <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com 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

