the image validation do not appear in the form

Fritz 18 Jun, 2009
IIS6 webserver with FastCGI
PHP Version 5.2.8
Joomla 1.5.11
Chrono Contact 3.1 RC5.1
GD Info GD Version bundled (2.0.34 compatible)
FreeType Support Yes
PNG Support Yes
Sample image: i can see
Load Chronoforms CSS/JS Files: yes

The Problem: the chapka image / the image validation do not appear in the form despite it was been activated. The form was NOT created with the wizard; it was imported/paste from a code that i have created with my html/php editor. The form works fine (without the validation) and send correctly the results to my Email.
GreyHead 18 Jun, 2009
Hi Fritz,

Have you put {imageverification} in your form HTML?

Bob
Fritz 19 Jun, 2009
I was convinced that was automatically added (as is the case for the creation of the response result form).😲 I have anywhere found instuctions for entered these manually. I searched for a tutorial with the list of these variables. Perhaps it would be useful a brief statement in the wizard/help to enter.
Forgive my stupid question.😶 I put in the form code your variable immediately.
I have installed only this year the PHP system on one of my servers. I study joomla and its modules since only a short time.
Thank you!
GreyHead 19 Jun, 2009
Hi Fritz,

If you check the tooltips there's quite a lot of useful information there.

Bob
Fritz 19 Jun, 2009
Really I could not find this...! 😶
I struggled to join the Joomla logic in these last months.... :?
Unfortunately I are accustomed to different user interfaces.🙄

OT: ... for example also in the validation I cannot make it work. Although I have read and followed all the help instructions but the validation does not want to take action.😢
GreyHead 19 Jun, 2009
Hi Fritz,

No problem - Joomla is different. It's simple to set up and get a basic site running and the is very powerful but much more complex when you want to do more advanced things.

Do you have Validation set to 'Yes' on the Validation tab? Where have you specified the fields to be validated - in the Form Wizard?

Bob
Fritz 19 Jun, 2009
Very thanks for your availability!

> have you specified the fields to be validated - in the Form Wizard?

This is a module that I created without using the wizard chrono forms. I imagine that I must manually add the code needed.
GreyHead 19 Jun, 2009
Hi Fritz,

Sorry, answering too many posts this morning and I forget which is which.

The easiest answer (in my opinion) is to add class definitions directly to the form html e.g. class='required'; you can also do this by adding field names in the Validaton tab when ChronoForms will insert the classes for you.

Bob
Fritz 19 Jun, 2009
I had tried but it did not work. I try to write the code by hand and see how it work.
We are OT and if you think, you can move this discussion under a new thread.
Thank'you!
Fritz 19 Jun, 2009
I have tested with insert in the php form the class='required' code.
Work fine in FF (standard settings); NO work and send without errors wit iE8 (standard settings). :?
The usual problem of compatibility ...😢

Maybe you can me indicate a other compatible code solution (PHP) ? 🙄
GreyHead 19 Jun, 2009
Hi Fritz,

It should work in both - though there is a problem if IE8 isn't in compatibility mode.

I posted a fix here in the last couple of days - please search my posts on 'compatibility' and that should find it.

Bob
Fritz 22 Jun, 2009
> is a problem if IE8 isn't in compatibility mode

No :? ; i have flagged ALL site as *compatibility* mode. Compatibilty is active!

This the code that have used:

<tr>
<td>Name</td>
<td class="required" colspan="2">
<input maxlength="68" name="Nome" size="68" type="text"></td>
</tr>

FF works fine; iE8 (vers. 8.0.6001.18702 Build 86001 in XP pro system) no.
I tried many times ...😟 with different settings and trying to change the navigations protections.

But I must also say that a normal user does not change the standard settings and they usually leaves the set of default. :?
Max_admin 22 Jun, 2009
Hi Fritz,

What's the problem now exactly because I'm confused by the different topics ? Bob is out of town for some days!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fritz 23 Jun, 2009
> confused by the different topics ?

I had already suggested to Bob to open a new thread.
Probably he does not have administrator privileges and has not been able to do.

> Bob is out of town for some days!

I hope Bob is in vacation! :wink:

We were discussing on how to resolve the compatibility issue with IE8 on the fields validation in a form post.
Despite the compatibility setting is turned on IE8 does not meet the validation. Firefox still works perfectly.

The used code is that what Bob to me suggested and that I have indicated in previous post.
Thank you for your assistance!
Max_admin 23 Jun, 2009
Hi Fritz,

Bob is in vacation and have all privileges but maybe he missed your words!

for the validation to work in IE you may set your page to IE7 compat mode using the meta tag (Bob posted the code somewhere here) OR you should have a title="" attribute in every field tag!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fritz 23 Jun, 2009
I have inserted the follow code, respecting your recommendations:

<head>
<meta content="IE=EmulateIE7" http-equiv="X-UA-Compatible" />
</head>
...
<tr>
<td>Name</td>
<td "class=" colspan="2" required="" title="">
<input maxlength="68" name="Nome" size="68" type="text"></td>
</tr>

... but on IE8 does not meet the validation, Firefox and Chronoengine still works perfectly.
Max_admin 23 Jun, 2009
Hi Fritz,

try this code in the HTML code box:


<?php
$document =& JFactory::getDocument();
$document->addCustomTag('<meta content="IE=EmulateIE7" http-equiv="X-UA-Compatible" />');


Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fritz 24 Jun, 2009
Thnak you Max!
Unfortunately, the problem remains unsolved. IE8 does not show the validation fields.

******************** this the form code:
<?php
$document =& JFactory::getDocument();
$document->addCustomTag('<meta content="IE=EmulateIE7" http-equiv="X-UA-Compatible" />');
?>
<head>
<style type="text/css">
.style1 {
border-collapse: collapse;
}
</style>
</head>
<table id="table7" cellspacing="1" class="style1" width="560">
<tr>
<td colspan="3">
<p style="text-align: center; font-size: 12pt; line-height: 14pt;">Info
& booking</p>
</td>
</tr>
<tr>
<td>Name</td>
<td "class=" colspan="2" required="" title="">
<input maxlength="68" name="Nome" size="68" type="text"></td>
</tr>
<tr>
<td>Surname</td>
<td class="required" colspan="2" title="">
<input maxlength="68" name="Cognome" size="68" type="text"></td>
</tr>
</table>
******************** end the form code.
Max_admin 24 Jun, 2009
oh, I think there was some misunderstanding here, does the code below work at any browser ? you have the class="required" and the title attributes in the table cells tags and not the fields tags! please move them!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fritz 25 Jun, 2009
Also in this way IE8 does not work. I try to ask in the iE forum to see if Ms have changed something about the function * required *...

The new code:

<tr>
<td>Name</td>
<td "class=" colspan="2">
<input class="required" maxlength="68" name="Nome" size="68" title="" type="text"></td>
</tr>
Max_admin 26 Jun, 2009
Hi Fritz,

there is no required function, its a class to tell the validator that this field is required!

your code should be:

<tr>
<td>Name</td>
<td class='' colspan="2">
<input class="required" maxlength="68" name="Nome" size="68" title="" type="text"></td>
</tr>


Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.