Forums

Problem after submit + timepicker question

tcroelandsveld 02 Jul, 2012
Hello,
I've 2 problems with the form I'm making:
1. After submitting my form I receive not only the 'thanks message' but also alle the the following code/text (so the whole content of the filled in field and the content of the mail send. It was first working fine so I've realy no idea what I've done wrong.

Data Array:

Array
(
    [chronoform] => inschrijving_jeugdlessen_20122013
    [event] => submit
    [Itemid] => 297
    [option] => com_content
    [view] => article
    [id] => 75
    [input_naam] => sdvdsv
    [input_voornaam] => sdvsdv
    [input_adres] => sdvds
    [input_postcode] => 3000
    [input_gemeente] => leuven
    [input_telefoon] => 000
    [input_email] => 
 verhulstbart@pandora.beDit e-mailadres wordt beveiligd tegen spambots. JavaScript dient ingeschakeld te zijn om het te bekijken.
 
    [input_vtvnummer] => 1234567
    [input_geboortedatum] => 10-02-2000 12:05:43
    [input_lessenTCR] => Jeugdlessen_20112012
    [input_ervaring] => ergrgregr
    [input_niveau] => kidstennis_wit
    [input_aantaluren] => Optie bijkomend lesuur niet gekozen
    [input_basisuren] => zaterdag12u30,zaterdag13u30,zaterdag14u30
    [input_alternatieveuren] => maandag1630,dinsdag1630,donderdag1630
    [input_opmerkingen] => ergregherg
    [chrono_verification] => 83yZg
    [input_verzenden] => Bevestigen Inschrijving
    [c8f359cd00cb4af4ba73c93ca0ee5244] => 1
    [chronoform_data] => Array
        (
            [cf_uid] => 10238ac5f614e68613a57544251a71dc
            [cf_created] => 2012-07-02 12:06:16
            [cf_ipaddress] => 171.18.27.131
            [cf_user_id] => 42
            [chronoform] => inschrijving_jeugdlessen_20122013
            [event] => submit
            [Itemid] => 297
            [option] => com_content
            [view] => article
            [id] => 75
            [input_naam] => sdvdsv
            [input_voornaam] => sdvsdv
            [input_adres] => sdvds
            [input_postcode] => 3000
            [input_gemeente] => leuven
            [input_telefoon] => 000
            [input_email] => 
 verhulstbart@pandora.beDit e-mailadres wordt beveiligd tegen spambots. JavaScript dient ingeschakeld te zijn om het te bekijken.
 
            [input_vtvnummer] => 1234567
            [input_geboortedatum] => 10-02-2000 12:05:43
            [input_lessenTCR] => Jeugdlessen_20112012
            [input_ervaring] => ergrgregr
            [input_niveau] => kidstennis_wit
            [input_aantaluren] => Optie bijkomend lesuur niet gekozen
            [input_basisuren] => zaterdag12u30,zaterdag13u30,zaterdag14u30
            [input_alternatieveuren] => maandag1630,dinsdag1630,donderdag1630
            [input_opmerkingen] => ergregherg
            [chrono_verification] => 83yZg
            [input_verzenden] => Bevestigen Inschrijving
            [c8f359cd00cb4af4ba73c93ca0ee5244] => 1
            [cf_id] => 10
        )

    [chronoform_data_cf_id] => 10
)

Validation Errors:

Array
(
)

Uw inschrijving voor de jeugdlessen 2012-2013 werd goed geregistreerd. Hartelijk dank hiervoor! Op het vermelde emailadres zal u een mail ontvangen met de ingegeven gegevens. Indien u nog een bijkomende vraag heeft kan u ons steeds contacteren via ons contactformulier. 

U zal via mail ruim op tijd op de hoogte gebracht worden van de exacte dag en uur waarop u les kan volgen.

 
Debug Data

   1.
      Core Captcha
         1. Passed the core captcha check!
   2.
      email
         1.
            10
               1.
                  Result An email has been SENT successfully from (Tennisclub Roelandsveld) tcrles@tcroelandsveld.beDit e-mailadres wordt beveiligd tegen spambots. JavaScript dient ingeschakeld te zijn om het te bekijken. to tcrles@tcroelandsveld.beDit e-mailadres wordt beveiligd tegen spambots. JavaScript dient ingeschakeld te zijn om het te bekijken. , mvannerom@skynet.beDit e-mailadres wordt beveiligd tegen spambots. JavaScript dient ingeschakeld te zijn om het te bekijken. , verhulstbart@pandora.beDit e-mailadres wordt beveiligd tegen spambots. JavaScript dient ingeschakeld te zijn om het te bekijken.
               2.
                  Body
                  Gegevens inschrijving jeugdlessen 2012-2013

                  Hieronder vind u alle antwoorden terug die u gegevens hebt bij het ingeven van de jeugdlessen 2012-2013. Mocht u nog een vraag hebben kan u steeds contact opnemen met Marc van NeromDit e-mailadres wordt beveiligd tegen spambots. JavaScript dient ingeschakeld te zijn om het te bekijken. .
                  Persoonlijke Gegevens

                  Hieronder de persoonlijke gegevens die u heeft ingegeven. U mag er zeker van zijn dat uw privecy ten allen tijde zal gerespecteerd worden en dat uw gegevens enkel zullen gebruikt worden in het kader van de organisatie van de tennislessen
                  Naam 	sdvdsv
                  Voornaam 	sdvsdv
                  Adres 	sdvds
                  postcode 	3000
                  Gemeente 	leuven
                  Telefoon/GSM 	000
                  Emailadres 	verhulstbart@pandora.beDit e-mailadres wordt beveiligd tegen spambots. JavaScript dient ingeschakeld te zijn om het te bekijken.
                  VTV-Nummer 	1234567
                  Geboortedatum 	10-02-2000 12:05:43
                  Je leservaring

                  Hieronder vermeld alles wat je hebt ingegeven betreffende de tennislessen
                  Welke lessen heb je in 2011-2012 gevolgd op TCR? 	Jeugdlessen_20112012
                  Beschrijf kort je huidige leservaring 	ergrgregr
                  Inschrijven voor de volgende lessenreeks

                  Vermelding van het niveau dat je gekozen hebt samen met de geselecteerde uren
                  Voor welk niveau schrijf je je in? 	kidstennis_wit
                  Interesse bijkomend lesuur 	Optie bijkomend lesuur niet gekozen
                  Geselecteerde basisuren 	zaterdag12u30,zaterdag13u30,zaterdag14u30
                  Geselecteerde alternatieve uren 	maandag1630,dinsdag1630,donderdag1630
                  Opmerkingen

                  Deze opmerking heeft u geschreven
                  ergregherg
               3.
                  Attachments array ( )
   3.
      redirect_user
         1. Error: No Redirect URL found

Powered By ChronoForms - ChronoEngine.com 


Does someone has an idea what can cause the problem?

My second question concerns the timepicker. I've investigated all the topics in this forum but I can't able to have it right
1. The timpicker sould be in dutch (nl-NL) but it shows always in the default English language. I can't figure out to have it in English
2. I would like to put 'minDate: 'xxxx-x-xx', maxDate: 'xxxx-xx-xx' but when I uwe it I can only select 1 jan 1970. All the other are non selectable.
3. I would like to show only the date and not the time select

I use the last version of chronoforms.

Thanks for your help
Regards
Bart
GreyHead 02 Jul, 2012
Hi Bart,

It looks as though you have added a Debugger action and haven't removed it again.

Which DatePicker are you using?

I think that this code should set the language to match the site language (it works for the MooTools datepicker OK)
<?php
$lang =& JFactory::getLanguage();
$tag = $lang->getTag();
echo "Locale.use('{$tag}');";
?>

Bob
tcroelandsveld 02 Jul, 2012
Hi Bob,
Thanks for your quick answer.
Effectively a debugger action was still present whe caused the problem.

Concerning the language. Where do I have to put this code?
Can you also help me with my question 2 and 3 of the timepicker.
Thanks for your appreciated help.

Bart
GreyHead 02 Jul, 2012
Hi Bart,

Put the code into a Custom Code action in the On Load event and drag it up before the Show HTML action.

Which DatePicker are you using?

Bob
tcroelandsveld 02 Jul, 2012
Hi Bob,
I added the code as you mentionned but is not working as expected. View the attached file to see what happens.

I use the mootools datepicker, chronoforms last version, joomla last version.

Thanks
Bart
tcroelandsveld 02 Jul, 2012
Hi Bob,
I was able to set everything correct concerning the datepicker except the language issue. This is still pending.

I'm not able to get it right (see my previous post).

Thanks for your help
Bart
GreyHead 07 Jul, 2012
Hi tcroelandsveld,

Interesting, the code I posted would have done that - but it does require that the site language is set in the Joomla! Language object.

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