e-mail form problem

I

Iain

Hi - started a thread last week about trying to get two different variables in the subject when a form is being e-mailed
I think I've almost got it, but just wanted to check that this code is correct

<input type="submit" value="Submit" name="B1" tabindex="13" style="font-family: Arial" onclick="this.form.a.value= this.form.Username.value + " " + this.form.Problem_Description.value; return true;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp

seems weird but this.form.Username.value is in grey text while this.form.Problem_Description.value is blue

Need to get his working in the next 30 mins. so any help would be appreciated
 
S

Stefan B Rusynko

Change your double quotes to single quotes

onclick="this.form.a.value= this.form.Username.value + ' ' + this.form.Problem_Description.value; return true;"




| Hi - started a thread last week about trying to get two different variables in the subject when a form is being e-mailed.
| I think I've almost got it, but just wanted to check that this code is correct:
|
| <input type="submit" value="Submit" name="B1" tabindex="13" style="font-family: Arial" onclick="this.form.a.value=
this.form.Username.value + " " + this.form.Problem_Description.value; return
true;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
| seems weird but this.form.Username.value is in grey text while this.form.Problem_Description.value is blue.
|
| Need to get his working in the next 30 mins. so any help would be appreciated!
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top