field email not saved (ie6 issue)

vismay 23 Jul, 2009
Hello, I ' m writing about a strange thing: the form works perfectly, but the field ( required, verified email) is not mailed yet saved on database.
I'm testing it in different browsers and looks like a ie6 problem.
informations: multilanguage on.

Maybe is a known isssue and you have already an answer

thanks matteo
GreyHead 23 Jul, 2009
Hi matteo,

If I understand this correctly the email is sent OK, except in IE6?

That would be odd as the mailing code is on the server and shouln't be affected by the browser used.

Or is it just that the value of the emailed field isn't included in the email but is saved in the database? (And only when IE6 is used?)

That too would be odd.

Please turn DeBug on for your form and post a copy of the DeBug output showing this errror if you can.

Bob
vismay 23 Jul, 2009
difficult to say...I receive around 15 form a day and some are with email some not....incredible...I don't find the reason, exept if I test with ie6 the email (and only the email, so I cannot reply!!!) is not formed and saved on DB.
I' m not a programmer, but I suppose is how ie6 handle java ( maybe mail-verification, required field).
What do you think?
vismay 23 Jul, 2009
this is the debug:
From: Acque Richieste []
To: [email]info@locandadelleacque.it[/email]
CC:
BCC:
Subject: Quick Request

Richiesta rapida di Disponibilita'
Nome
vismay
Email

Arrivo
20/07/2009
Partenza
22/07/2009
Adulti
1
Bambini

Camera
double
Quantita'
1
note




Submitted by 83.224.217.99

Files:

Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
$_POST Array: Array ( [nome] => vismay [email ] => [email]vismay99@aol.com[/email] [arrivo] => 20/07/2009 [partenza] => 22/07/2009 [adulti] => 1 [bambini] => [camera] => double [quantita] => 1 [note] => [button_10] => Submit [96e98d958787af427f147a53f9ea9641] => 1 [1cf1] => 6262a1335f1a2cb5ccab9e057dd1f5bf [chronoformname] => quick_request )
$_FILES Array: Array ( )
Form passed the plugins step (if enabled) OK
An email has been SENT successfully from (Acque Richieste) to [email]info@locandadelleacque.it[/email]
Debug End
Redirect link set, click to test:
http://www.locandadelleacque.it/it/component/content/article/53.html


is this space after the email field? [email ]
vismay 23 Jul, 2009
infact, in the debug from firefox 3 is not present:

From: Acque Richieste [vismay99@example.com]
To: [email]info@example.it[/email]
CC:
BCC:
Subject: Quick Request

Richiesta rapida di Disponibilita'
Nome
vismay
Email
[email]vismay99@example.com[/email]
Arrivo
20/07/2009
Partenza
28/07/2009
Adulti
1
Bambini

Camera
double
Quantita'
1
note


Submitted by 83.224.217.99

Files:

1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [nome] => vismay [email] => [email]vismay99@example.com[/email] [arrivo] => 20/07/2009 [partenza] => 28/07/2009 [adulti] => 1 [bambini] => [camera] => double [quantita] => 1 [note] => [button_10] => Submit [112601114731d27f8b8afa5160edb37e] => 1 [1cf1] => d66039ef92a8ca2e10d147baceac1ce5 [chronoformname] => quick_request )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (Acque Richieste)vismay99@example.com to [email]info@example.it[/email]
9. Debug End
10.
Redirect link set, click to test:
http://www.example.it/it/component/content/article/53.html



the field [email] has no space, so is readed.
GreyHead 23 Jul, 2009
Hi vismay,

That all looks Ok.

Bob
vismay 23 Jul, 2009
Yes, but still ie6 doesn't save the field "email"....
GreyHead 23 Jul, 2009
Hi vismay,

What does the DeBug output look like in IE6?

Bob
vismay 24 Jul, 2009
Hello, the first debug I've posted is from ie6.
The field looks like [email ]
Ther second debug I've posted is from firefox 3
The field looks like [email]

What I notice is the space [email ] <-

is that possible that somehow handle the field email with a space after, so is not recognized?
GreyHead 24 Jul, 2009
Hi visay,

Sorry, I didn't see (remember) the first post, the space does look wrong. Please check the Form HTML - does the input have name='email ' ??

Bob
vismay 24 Jul, 2009
Of course not, I think is how IE6 handle the fields....maybe if there is a java istruction like verified email
GreyHead 24 Jul, 2009
Hi vismay,

I'm not so sure about that - here's a snippet from the page source in FireFox - the line return could be doing it:
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 70px;">Email</label>

    <input class="cf_inputbox required validate-email
" maxlength="150" size="30" title="" id="text_2" name="email
" type="text" />
and here's what I see in IE8 with Debugbar
<INPUT id=text_2 class="cf_inputbox required validate-email
" title="" maxLength=150 size=30 type=text name="email
" $included="null">

Bob
vismay 25 Jul, 2009
Hi,
yes looks strange....
but this is the form code:
<div class="form_item">
  <div class="form_element cf_heading">
    <h1 class="cf_text"> Richiesta rapida di Disponibilita'</h1>
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 70px;">Nome</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="" id="text_1" name="nome" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 70px;">Email</label>
    <input class="cf_inputbox required validate-email" maxlength="150" size="30" title="" id="text_2" name="email" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_datetimepicker">
    <label class="cf_label" style="width: 70px;">Arrivo</label>
    <input class="cf_datetime required" title="" size="20" id="arrivo" name="arrivo" type="text" />
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_datetimepicker">
    <label class="cf_label" style="width: 70px;">Partenza</label>
    <input class="cf_datetime required" title="" size="20" id="partenza" name="partenza" type="text" />
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 70px;">Adulti</label>
    <select class="cf_inputbox" id="select_5" size="1" title=""  name="adulti">
    
      <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 70px;">Bambini</label>
    <select class="cf_inputbox" id="select_6" size="1" title=""  name="bambini">
    <option value="">Choose Option</option>
      <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 70px;">Camera</label>
    <select class="cf_inputbox" id="select_7" size="1" title=""  name="camera">
    
      <option value="double">double</option>
<option value="triple">triple</option>
<option value="quadruple">quadruple</option>
<option value="suite x2">suite x2</option>
<option value="suite x3">suite x3</option>
<option value="suite x4">suite x4</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 70px;">Quantita'</label>
    <select class="cf_inputbox" id="select_8" size="1" title=""  name="quantita">
    
      <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label" style="width: 70px;">note</label>
    <textarea class="cf_inputbox" rows="3" id="text_9" title="" cols="30" name="note"></textarea>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_button">
    <input value="Submit" name="button_10" type="submit" />
  </div>
  <div class="cfclear"> </div>
</div>
------------------

I will try to take out the validate mail instruction, I will see what happen....I will let you know.
vismay 25 Jul, 2009
the form is of course for both browser the same, only IE6 read the field email different. I will also try to rewrite the line direct in Form code.
vismay 25 Jul, 2009
looks like wherever I write name="email" in formcode, then by the browsers make a newline after the word email ( name="email
" ).

then of course specially IE puts a strange code on it.
How I can avoid this ? and Why in the most important field!?!?!?

Thanks for your solution I´m sure that now we got it!!!!
GreyHead 25 Jul, 2009
Hi vismay,

How odd - could be something deep in the Chrono Forms code but I've not seen it before as far as I recall. For the moment please try changing the name to something different, just name='emailx' could be enough.

Bob
vismay 25 Jul, 2009
I think we got it, the problem on changing emailx he put a new line email
x


changing in "indirizzo" it works!!!!!!!
GreyHead 25 Jul, 2009
Hi vismay,

Excellent - still don't know why 'email' causes the problem but we have a working solution :-)

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