Actually, I am using CF - but I just figured it out:
STEP 1: grabbing the info from the 4th form element....
<script language="JavaScript">
<!--
function getValue(otherElement){
var path_name = (otherElement.form.elements[4].value);
window.document.myForm.the_file.value = path_name;
}
// -->
</script>
STEP 2: hidden file where this value will be passed to...
<form name="myForm" etc.>
<input type="hidden" name="the_file">
STEP 3: the submit button pushes the value into the hidden field....
<input type="submit" onClick="getValue(this);" name="Set"
value="Submit">
</form>
ColdFusion then can do all the database (which by the way is MS SQL) and
submission. No idea if this is the best way to do it but it works (after
testing for a couple hours). Maybe the code will help someone else. Now
I just need to run some string functions on the 4th form element to
extract the file name...
Thanks for responding!
*** Sent via Devdex
http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!