Excellent! Thanks Dave... That was it. And I received basically the same thing from Stas too.
Thanks to both of you. Was really simple, I know. But I'm not a JS person. ;) Take care... Lee > -----Original Message----- > From: Dave Watts [mailto:[EMAIL PROTECTED]] > Sent: Sunday, November 04, 2001 3:19 PM > To: CF-Talk > Subject: RE: I owe ya! (Javascript Question) > > > > I need to simply take the value of one field (string), and > > then prepend (and possible append) some info to it, and set > > a field on the same for to the concatenated value. > > > > So basically.. > > > > function autoFills() { > > if( document.myForm.thisfield.value != '' ) { > > **set the value of another field on the form to > 'something' plus > > what's in "thisfield"** > > return true; > > } > > } > > How about this: > > function autoFills() { > if (document.myForm.thisfield.value != '') { > document.myForm.otherfield.value = 'something' > + document.myForm.thisfield.value; > return true; > } > } > > If it's any more than that, I must be missing something in my > reading of your question. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > voice: (202) 797-5496 > fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists