Forums

Problems with quotes

Christian 25 21 Dec, 2008
Hello,

im using Chronoforms and Joomla 1.58.
For "Dynamic To" i used: <option value="xyz@xyz.com"> Information </option> and it has workes fine, with Joomla 1.5.
Now im using Joomla 1.58 and it doesnt work. I found out, that it work now without quotes: <option value=xyz@xyz.com> Information </option>. But this isn't correct code! And i will use a php-script befor sending mail, and there i must quotes for string and than it work not too.
Why cant i use quotes in Chronoforms?

thanks

Chris
GreyHead 21 Dec, 2008
Hi Chris,

First off I'd strongly recommend that you don't put email addresses in your form html. There are several threads here about using a code in the option then looking the code up in an email array in the OnSubmit code to get the actual address.

I don't know why the quotes don't work. Normally either single or double quotes should be OK, and 'no quotes' will work but is poor html.

Have you tried single quotes here?

Bob
This topic is locked and no more replies can be posted.