Ok.. Again for you JS gurus.. 

If I'm doing an auto-fill on a field on a form, based on the input
already in another form (then onblur'd to trigger the auto-fill) and I
want the first letter in the auto-filled field to be upper-case, and the
rest lower, what's the function/event to make that work?

I have this now, and it works fine.. But I need the domain name to be
upper-case on the first letter only...

function autoFills() {
    if( document.domainrecord.domainname.value != '' ) {
                document.domainrecord.hostdesc.value = "(Type)" +
document.domainrecord.domainname.value;
      return true;
    }
}

Figured one of you prolly has a 2 second fix for this.

TTAIA

        Lee
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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

Reply via email to