Forums

Email without Name and Email!

The King 02 Nov, 2007
Hi,

I made a simple form for Joomla with Crono Forms
The code is:

Naam:<input name="name" value="" type="text"><br>
Email:  <input name="email" value="" type="text"><br>
<input name="Submit" value="Submit" type="submit"



When I complile the form on the site I only recive the ipadres in the mail without Name and Emailface-meh-blank

Post edited by: The King, at: 2007/11/02 16:47<br><br>Post edited by: The King, at: 2007/11/02 16:50
GreyHead 02 Nov, 2007
Hi The King,

Please check that you have the field 'In which format to send the results email' on the General tab set to 'Fields Titles'

Bob
The King 02 Nov, 2007

Hi The King,

Please check that you have the field 'In which format to send the results email' on the General tab set to 'Fields Titles'

Bob



Yes! It works!
Thanks!

How can I avoid invalid emails (for example with spaces or without an @) or invalid names (empty, with only one letter, etc)?
GreyHead 02 Nov, 2007
Hi The King,

You can use the Validation tab. Put the email field name into the '7' field and enable validation.

You'll need to test this carefully as sometimes that are conflicts with the JavaScript used here and other site components.

Bob
The King 02 Nov, 2007

Hi The King,

You can use the Validation tab. Put the email field name into the '7' field and enable validation.

You'll need to test this carefully as sometimes that are conflicts with the JavaScript used here and other site components.

Bob



Thanks.
I use 'email' in field 7.
I also use name, email in field 1 (required) or should I use Naam, Email (see code).

When I use an invalid or blank name or email it still permit me to submit.
The King 02 Nov, 2007
It works thanks!
GreyHead 02 Nov, 2007
Hi The King,

Great - as you discovered, you need the field names (email, name) in there.

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