Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LOOP123

    PHP mail script: multiple recipients in CC and reply-to fields

    I'm not sure if my web hosting provider will allow phpmailer. I think I need to stick to php mail. I'm hoping there's an easy solution out there for me :) Cheers, Dipesh.
  2. LOOP123

    PHP mail script: multiple recipients in CC and reply-to fields

    Hello, I have a working PHP mail script that captures input from a form (email, subject (topic), and the message (summary). I now need help to modify my script so I can add multiple cc and reply-to recipients, one of which must be the person that completed the form (i.e. the From respondent...
  3. LOOP123

    Form: Call javascript without Submit Button using Enter Keyboard Key

    Hello, I have a problem as follows: I have a form with a single text field value to capture user input. There is NO submit button. When the user inputs a value in the text field and then hits ENTER on the keyboard, a javascript function must be called. How do I do this without using a submit...
  4. LOOP123

    PHP equiv for Javascript LOOP to assign sequential form field values

    Hello, I'm trying to convert some javascript to a PHP equivalent (I'm a little new to PHP). Basically, I'm using a javascript loop to automatically assign form values to similar fields. Here is my javascript code: var N = new Array(); for (var x = 0; x < 5; x++){ N[x] =...
  5. LOOP123

    Assign form field values to array elements using a loop

    I get this error when I omit the "." between [COLOR=blue]forms["frmOpt1"][/color blue]: Error (in IE): document.forms.["frmOpt1"].elements[...].value' is null or not an object *** LOL - copy and paste is good, however, I'm trying to master this stuff :) fyi...I really want to thank everyone...
  6. LOOP123

    Assign form field values to array elements using a loop

    Thanks - however, for some reason, I'm now getting an error. At first, I thought it may be due to a missing . between [COLOR=blue]forms["frmOpt1"][/color blue] as follows: [COLOR=blue] var N = new Array(); for (var x = 0; x < 5; x++) { N[x] = document.forms.["frmOpt1"].elements["opt1N" +...
  7. LOOP123

    Assign form field values to array elements using a loop

    Hello, I have the following javascript code that I want to shorten using a loop that will assign form field values to array elements: [COLOR=blue] var N = new Array(); N[0] = frmOpt1.opt1N0.value; N[1] = frmOpt1.opt1N1.value; N[2] = frmOpt1.opt1N2.value; N[3] = frmOpt1.opt1N3.value; N[4] =...
  8. LOOP123

    Join form field string values using array and looping

    My name is MUD. After reading carefully, I see my error and you're totally right. Thanks! Cheers, Dipesh.
  9. LOOP123

    Join form field string values using array and looping

    I'll try that, however, won't the following extract values to my form and assign values to the array before the loop code is excuted? [COLOR=red] names[0] = frmOpt1.opt1N1.value; names[1] = frmOpt1.opt1N2.value; names[2] = frmOpt1.opt1N3.value; names[3] = frmOpt1.opt1N4.value; names[4] =...
  10. LOOP123

    Join form field string values using array and looping

    Hello, I'm hoping someone can help me with an easy solution. Here's what I'm trying to accomplish: I have 5 form fields. Using javascript, each value is assigned to an array. I would like to use a loop to join each value (separated by a comma) and be assigned to a string variable...

Part and Inventory Search

Back
Top