Hello,
in the Field 'Form HTML' in Form Code i paste some html/php code (form contact).
now i want some fields to get validation.
also i want to insert the Anti Spam captcha field.
Please can you help me with a tutorial.
Thanks a lot.
Regards
Mac
in the Field 'Form HTML' in Form Code i paste some html/php code (form contact).
now i want some fields to get validation.
also i want to insert the Anti Spam captcha field.
Please can you help me with a tutorial.
Thanks a lot.
Regards
Mac
Hi Mac,
you will need to know your fields names which you want validated and go to the "validation" tab and enable the validation and follow the tooltips to add the fields to be validated!
you need to write {imageverification} word in the desired place in your form where you want the captcha image and input box to show!
Regards
Max
you will need to know your fields names which you want validated and go to the "validation" tab and enable the validation and follow the tooltips to add the fields to be validated!
you need to write {imageverification} word in the desired place in your form where you want the captcha image and input box to show!
Regards
Max
Thanks!
1. If the user wrote the wrong captcha letters in field - i want to have the message on the same site and not in a new site. where can i config this?
2. for the validation i have another wish. is it possible to team a choice from a drop down field with a some other fields.
for example: when the user choice from the drop down field 'i want to have contact by E-Mail' then he the field 'your E-Mail-Adress' must be valid; when he choice 'contact by post' then the field adress must be valid.
3. How can i check that the E-Mail Adress ist correctly insert?
Thank you for your help
Mac
1. If the user wrote the wrong captcha letters in field - i want to have the message on the same site and not in a new site. where can i config this?
2. for the validation i have another wish. is it possible to team a choice from a drop down field with a some other fields.
for example: when the user choice from the drop down field 'i want to have contact by E-Mail' then he the field 'your E-Mail-Adress' must be valid; when he choice 'contact by post' then the field adress must be valid.
3. How can i check that the E-Mail Adress ist correctly insert?
Thank you for your help
Mac
Hi mac,
I don't understand Q1. ChronoForms doesn't send you to another site unless you use a ReDirect or an OnSubmit url. (If you use an OnSubmit URL then ChronoForms will never see the submitted form data to check the imageverification.)
Q2, Yes, but you'll need to code this for yourself - probably needs a little JavaScript snippet.
Q3, you can use the built-in email validation - if I understand the question correctly. (Max explained this in his post.)
Bob
I don't understand Q1. ChronoForms doesn't send you to another site unless you use a ReDirect or an OnSubmit url. (If you use an OnSubmit URL then ChronoForms will never see the submitted form data to check the imageverification.)
Q2, Yes, but you'll need to code this for yourself - probably needs a little JavaScript snippet.
Q3, you can use the built-in email validation - if I understand the question correctly. (Max explained this in his post.)
Bob
Hi Bob,
sorry, my english is so bad 😶 i will try it again.
1. The problem with 'on submit' it turns to a new page
3. Where can i change this message-letters 'This is a required field.'?
Thanks a lot.
Regards
mac
sorry, my english is so bad 😶 i will try it again.
1. The problem with 'on submit' it turns to a new page
index.php?option=com_chronocontact&task=send&chronoformname=kontaktformular
3. Where can i change this message-letters 'This is a required field.'?
Thanks a lot.
Regards
mac
Hi mac,
No problem.
To try to answer the second problem first - you have a lot of code in your form html that doesn't belong there. You only need the code *between* the <form . . .> and </form> tags and *possibly* some of the php.
Your form isn't redisplaying because your form code tells it not to!!
You can add custom validation messages by using the title attribute in the form field:
Bob
No problem.
To try to answer the second problem first - you have a lot of code in your form html that doesn't belong there. You only need the code *between* the <form . . .> and </form> tags and *possibly* some of the php.
Your form isn't redisplaying because your form code tells it not to!!
You can add custom validation messages by using the title attribute in the form field:
<input type='text' . . . title='Dies ist ein Pflichtfeld' . . ./>
Bob
Thanks Bob,
the message in the under the field box is now in german :wink:
but the Anti Spam Field do not work - the is no message when i ignore the field.
on submit this message is shown:
You are not allowed to access this URL
mac
the message in the under the field box is now in german :wink:
but the Anti Spam Field do not work - the is no message when i ignore the field.
on submit this message is shown:
You are not allowed to access this URL
mac
Hi Mac,
Much better; you still have a </form> tag near the end of your form html. Hopefully taking this out will fix the problem.
Bob
Much better; you still have a </form> tag near the end of your form html. Hopefully taking this out will fix the problem.
Bob
Hi Bob,
that was one of my mistakes, thank you.
i think ther are more 😢
the answer-mail is, that the marker witch checkboxes are aktiv is not shown.
i also want a text like this '...your message ist successful send to us' when the form is complet.
where is the right place for this message?
regards
mac
that was one of my mistakes, thank you.
i think ther are more 😢
the answer-mail is, that the marker witch checkboxes are aktiv is not shown.
i also want a text like this '...your message ist successful send to us' when the form is complet.
where is the right place for this message?
regards
mac
Hi Mac,
For the 'Thank you' message put this code in the OnSubmit After box:
For the checkboxes I suggest that you group them by giving them an array name
Bob
For the 'Thank you' message put this code in the OnSubmit After box:
<b>Danke! <br />Wir haben Ihr Anliegen erhalten und melden uns wie gewünscht bei Ihnen.</b>
For the checkboxes I suggest that you group them by giving them an array name
<table width="100%" border="0">
<tbody>
<tr>
<td>
<input type="checkbox" value="Dienstleistungskatalog Ja" name="checkbox[]" class="checklabel" />
Dienstleistungskatalog
</td>
<td>
<input class="checklabel" type="checkbox" value="Image/ Infopaket Ja" name="checkbox_2" />
Image / Infopaket
</td>
</tr>
<tr>
<td><input type="checkbox" value="Brosch?re basisCHECK Ja" name="checkbox[]" class="checklabel" /> Informationsbrosch?re basisCHECK</td>
<td><input type="checkbox" value="Fragenkatalog basisCHECK Ja" name="checkbox[]" class="checklabel" /> Fragenkatalog basisCHECK</td>
</tr>
<tr>
<td>
<input type="checkbox" value="Broschüre analyseCHECK Ja" name="checkbox[]" class="checklabel" />
Informationsbroschüre analyseCHECK
</td>
<td>
<input type="checkbox" value="Fragenkatalog analyseCHECK Ja" name="checkbox[]" class="checklabel" />
Fragenkatalog analyseCHECK
</td>
</tr>
<tr>
<td>
<input type="checkbox" value="Newsletter Ja" name="checkbox[]" class="checklabel" />
Newsletter abonnieren
</td>
<td>
<input type="checkbox" value="14-Tage-Demo-messSERVICE" name="checkbox[]" class="checklabel" />
<strong>14 Tage Demo messSERVICE</strong>
</td>
</tr>
<tr>
<td>
<input type="checkbox" value="KfW-KMU-Foerderprogramm" name="checkbox[]" class="checklabel" />
KfW Sonderfonds Energieeffizienz
</td>
</tr>
</tbody>
</table>
This should give you all the checkbox answers in a single array.Bob
Hi Bob, thank you for your exercise patience!
I do'nt understand your answer how i must cover the checkboxes.
On my site / Kontakt there are other moduls positioned. When the form is submited this moduls clear away - why?
Best Regards
Mac
I do'nt understand your answer how i must cover the checkboxes.
On my site / Kontakt there are other moduls positioned. When the form is submited this moduls clear away - why?
Best Regards
Mac
Hi,
another Question:
when submit is done - the suchmaschinenfreundliche URLs with Ending .html (http://www.mysite.de/zumichael110109/kontaktformular.html) is past.
Than this URL comes:
http://www.mysite.de/index.php?option=com_chronocontact&task=send&chronoformname=kontaktformular
Is it possible to change in suchmaschinenfreundliche URLs? I think thats the reason why the moduls on the site are clear out?!
Thanks for help.
Mac
another Question:
when submit is done - the suchmaschinenfreundliche URLs with Ending .html (http://www.mysite.de/zumichael110109/kontaktformular.html) is past.
Than this URL comes:
http://www.mysite.de/index.php?option=com_chronocontact&task=send&chronoformname=kontaktformular
Is it possible to change in suchmaschinenfreundliche URLs? I think thats the reason why the moduls on the site are clear out?!
Thanks for help.
Mac
Hi Mac,
This is normal and expected, the URL must change, try to add a "redirect URL" (form URLs tab) to the link you like so the form goes to after submit!
Regards
Max
This is normal and expected, the URL must change, try to add a "redirect URL" (form URLs tab) to the link you like so the form goes to after submit!
Regards
Max
Okay Max,
i understand.
my link from button 'kontakt' goes to the 'kontaktformular' chronoform component.
must i also have a module with the name 'kontaktformular'? Is this a special chronoform modul?
Regards
Mac
i understand.
my link from button 'kontakt' goes to the 'kontaktformular' chronoform component.
must i also have a module with the name 'kontaktformular'? Is this a special chronoform modul?
Regards
Mac
Hi Mac,
Sorry but I don't understand your question, can you show me your form some where and tell me what you don't like about and I will tell you about all possible solutions if any ?🙂
Gruesse,
Max
Sorry but I don't understand your question, can you show me your form some where and tell me what you don't like about and I will tell you about all possible solutions if any ?🙂
Gruesse,
Max
Hi Max,
this is the website offline when you fill in the form, and forget something, the message will shown on top of the site, but the modules on the right and left clear out. also when the form is complete, the redirect is without modules on the right and left.
Thank you for helf.
mac
this is the website offline when you fill in the form, and forget something, the message will shown on top of the site, but the modules on the right and left clear out. also when the form is complete, the redirect is without modules on the right and left.
Thank you for helf.
mac
Hi Mac,
I didn't see any messages at the top of teh site but regarding the modules issue after submit, this is because of the itemid, please check this post:
http://www.chronoengine.com/forums.html?cont=posts&f=2&t=7365&start=0&st=0&sk=t&sd=a
Cheers
Max
I didn't see any messages at the top of teh site but regarding the modules issue after submit, this is because of the itemid, please check this post:
http://www.chronoengine.com/forums.html?cont=posts&f=2&t=7365&start=0&st=0&sk=t&sd=a
Cheers
Max
No problems!🙂
Max
Max
This topic is locked and no more replies can be posted.