Forums

keep form data with image verfication don't work

Fellyboy 02 Jul, 2009
Hello all

I made an update to version Chrono Contact V3.1 RC5.2 (component and plugin). I have implemented my contact form into an article with {chronocontact}Kontaktformular{/chronocontact}.

After this update, the entered data is not stored after entering a wrong verification code. I solved this with the $_POST in my form code. I haven't changed anything into the code. Here an example:
<tr>
<td style="width: 125px; height: 30px;">Name:*</td>
<td style="width: 350px; height: 30px;"><input maxlength="30" type="text" name="name" value="<?php echo $_POST['name']; ?>" size="30">
</td>
</tr>


Unfortunately the number 35 in the FAQ is not explaining all...

Thanks for the help!

Regards
Markus
Max_admin 03 Jul, 2009
Hi Markus,

you don't have the "try to republish" option enabled at your general tab ? it should do it without the need to use the POST in fields!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fellyboy 04 Jul, 2009
Thank you Max. It works if I do enable the "try to republish". Unfortunately I have a field where users have to enter an E-Mail Adress. Now, in this field I have the text that user have to enable java script and E-Mail is protected against spam... so that message appears not every time. So in the meantime, I entered the name of this field into the republish skip list.
Max_admin 04 Jul, 2009
Hi Markus,

try to change the order of the Email cloaking plugin to be over the chronocontact one!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fellyboy 05 Jul, 2009
YES. It seems to work now! Thank you very much Max.

Have changed the order of this two plugins.

By the way: how can I change the altert message "You have entered an incorrect verification code at the bottom of the form."?! I cannot find this text into the files... Have to translate that into german.

Thanks and nice weekend!
Regards
Markus
GreyHead 05 Jul, 2009
Hi Marcus,

Use the 'error message' box on the Anti-Spam tab.

Bob
Fellyboy 10 Jul, 2009
Thanks Bob. That's exactly what I'm looking for!

I've found a problem with the republishing of the data. I'm useing a dropdownbox to select something. Plese have a look at the code below:
<select name="auswahl">
<option>Sonstiges</option>
<option>Terminvereinbarung</option>
<option>Besichtigung Ausstellung</option>
<option>Produktinformationen</option>
</select>


The selection made here won't be republished after entering a wrong verification code. I've tryed to solve it with the $_Post Tags in the form code - without success.

Is there an solution to solve that issue?!

Thanks and regards
Markus
Max_admin 10 Jul, 2009
Hi Markus,

This should work fine, I have fixed a small glitch in the republishing code though, please contact me through the "contact us" page to get the latest version!

Regards
MAx
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fellyboy 11 Jul, 2009
Hello Max

I have received the latest version by Email. Have installed this version. Unfortunately no improvement...

Regards
Markus
GreyHead 11 Jul, 2009
Hi Markus,

I wonder if the republish problem is because there are no values in the options, I'm guessing that the JavaScript that is used may need them set specifically so that it can identify the right option to set. Try
<select name="auswahl">
<option value='Sonstiges' >Sonstiges</option>
<option value='Terminvereinbarung' >Terminvereinbarung</option>
<option value='Besichtigung Ausstellung' >Besichtigung Ausstellung</option>
<option value='Produktinformationen' >Produktinformationen</option>
</select>

Bob
Fellyboy 12 Jul, 2009
Thanks Bob for this hint. That was the solution. Works now perfekt.

Regards
Markus
Max_admin 12 Jul, 2009
Great catch Bob, @Markus, in order for the republish to work you must have a valid HTML, Chronoforms at least will assume this!

Regards,
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.