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.
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...
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...
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] =...
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...
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" +...
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] =...
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] =...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.