Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Passing an email address, supplied by the user, into the CC field..?

  1. #11
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You'd just do, for example:
    Code:
    <input type="text" name="projectname" onkeypress="return handleEnter(this, event)" onkeydown="beginCopy(0, this.name, 'mailsubject', 'your bit of text');" onkeyup="endCopy();" class="memorize" value="1-" size="16" maxlength="8">
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  2. #12
    Join Date
    Oct 2005
    Location
    Liverpool, UK
    Posts
    87
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    That works great - thank you!

    Just to continue being a pain ( )...
    Is it much of a job to turn this around to work as a suffix instead?
    I'm thinking, I could probably use the same script for copying both the input from the user for the email subject name and, also, again (but in not declaring a suffix element) for copying an email address input into the cc field - assuming leaving this out of the function wouldn't have a bad effect and screw up the email element?

    Again, I really appreciate your help.

    Cheers,

    N.

  3. #13
    Join Date
    Oct 2005
    Location
    Liverpool, UK
    Posts
    87
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Red face ..Doh! ...Sorry

    Yup - it's been a long day and I obviously wasn't thinking when I sent that last question.... Of course, I can switch it around by either having a value in there or leaving it blank.

    Cheers,

    N.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •