We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10534
    • 40 Posts
    I’ve been searching around ... but I havent found any topic concerning my problem. I find I weird that I am the only one who has this problem :/

    Well, the thing is: when sending an eForm it takes ages before the form takes met to the landingpage (&thankyou). I even receive the mail ’ages’ before I see the landingpage; I takes around a minute before I’m there...in every browser. You can find all the code I use below..

    And I’ve found another bug as well: when using &ccsender=`0` it still gets sent to the sender. Only when leaving it out entirely it does not send a mail to sender...

    I’ve got the following snippetcode (readable format):
    [!eForm? 
    &formid=`<a text>` 
    &subject=`<a text>` 
    &to=`<emailadrress>` 
    &tpl=`eform_regioteam` 
    &report=`eform_regioteam_report` 
    &vericode=`1` 
    &thankyou=`eform_regioteam_dank` 
    &sendAsText=`1`!]


    &tpl=`eform_regioteam` looks like this:
    <p class="error">[+validationmessage+]</p>
    <form method="post" action="[~[*id*]~]" id="RTForm" name="RTForm">
    	<fieldset class="eform1">
    		<input name="formid" type="hidden" value="RegioTeamForm" />
    
    		<label for="rtNaam">Naam:</label>
    		<input name="naam" id="rtNaam" class="text" type="text" eform="Naam::1:" /><br />
    
    		<label for="rtAdres">Adres:</label>
    		<input name="adres" id="rtAdres" class="text" type="text" eform="Adres::1" /><br />
    
    		<label for="rtPostcode">Postcode:</label>
    		<input name="postcode" id="rtPostcode" class="text" type="text" eform="Postcode::1" /><br />
    
    		<label for="rtPostcode">Woonplaats:</label>
    		<input name="woonplaats" id="rtWoonplaats" class="text" type="text" eform="Woonplaats::1" /><br />
    
    		<label for="rtLeeftijd">Leeftijd:</label>
    			<select name="leeftijd" id="rtLeeftijd" class="slct" eform="Leeftijd::1">
    			<option value=""></option>
    			<option value="15">15 jaar</option>
    			<option value="16">16 jaar</option>
    			<option value="17">17 jaar</option>
    			<option value="18">18 jaar</option>
    			</select>
    		<br />
    
    		<label for="rtPostcode">Telefoonnummer:</label>
    		<input name="telefoon" id="rtTelefoon" class="text" type="text" eform="Telefoon::1" /><br />
    
    		<label for="rtEmail">E-mailadres:</label>
    		<input name="email" id="rtEmail" class="text" type="text" eform="Email:email:1" /><br />
    
    		<label for="rtPostcode">Schoolnaam:</label>
    		<input name="school" id="rtSchool" class="text" type="text" eform="School::1" /><br />
    
    		<label for="rtKlas">Klas:</label>
    			<select name="klas" id="rtKlas" class="slct" eform="Klas::1">
    			<option value=""></option>
    			<option value="vmbo">VMBO</option>
    			<option value="havo">HAVO</option>
    			<option value="vwo">VWO</option>
    			</select>
    		<br />
    
    		<label for="rtGeslacht">Geslacht:</label>
    			<input type="radio" name="geslacht" id="rtGeslacht" class="rdio" value="man" CHECKED /> Man    
    			<input type="radio" name="geslacht" id="rtGeslacht" class="rdio" value="vrouw" /> Vrouw<br>
    		<br />
    
    		<label for="verimage">Anti-spam code:</label>
    		<img name="verimage" src="[+verimageurl+]" alt="verification code" border="1"/></br>
    
    		<label for="vericode">Voer de bovenstaande code in:</label>
    		<input type="text" name="vericode" /></br>
    
    		<label> </label><input type="submit" name="aanmelden" id="rtAanmelden" class="btn" value="Aanmelden" />
    	</fieldset>
    </form>


    &report=`eform_regioteam_report` looks like this:
    Er is een nieuwe aanmelding opgestuurd door [+naam+] met het online RegioTeam aanmeldformulier. De details van de aanmelding volgen hieronder:
    
    Naam: [+naam+]
    Adres: [+adres+]
    Postcode: [+postcode+]
    Woonplaats: [+woonplaats+]
    Leeftijd: [+leeftijd+]
    Telefoonnummer: [+telefoon+]
    E-mailadres: [+email+]
    Schoolnaam: [+schoolnaam+]
    Klas: [+klas+]
    Geslacht: [+geslacht+]


    &thankyou=`eform_regioteam_dank`:
    <h3>Bedankt voor uw aanmelding!</h3>
    <p>Uw aanmelding is succesvol verstuurd; uw aanmeld details kunt u hieronder nalezen.</p>
    
    <p>
    Naam: <strong>[+naam+]</strong><br />
    Adres: <strong>[+adres+]</strong><br />
    Postcode: <strong>[+postcode+]</strong><br />
    Woonplaats: <strong>[+woonplaats+]</strong><br />
    Leeftijd: <strong>[+leeftijd+]</strong><br />
    Telefoonnummer: <strong>[+telefoon+]</strong><br />
    E-mailadres: <strong>[+email+]</strong><br />
    Schoolnaam: <strong>[+schoolnaam+]</strong><br />
    Klas: <strong>[+klas+]</strong><br />
    Geslacht: <strong>[+geslacht+]</strong>
    </p>
      • 10534
      • 40 Posts
      Gosh... nevermind, this topic may be closed :/

      I’ve figured out that the primary nsserver set on the server is not functioning so the second one has to be used. This results in major slowdowns in eForm. After removing the first nsserver everything is back to normal!
        • 30223
        • 1,010 Posts
        Good to hear you solved it...

        Regarding the &ccsender parameter, there is indeed a mistake in the snippet code. Suprishat this was not picked up by me earlier sad If it bothers you, you can open up the snippet in the manager and change these two lines:
        <?php
        //Change this
           //'ccsender' => isset($ccsender)? 1:0,
           //'sendirect' => isset($sendirect)? 1:0
        //to this
           'ccsender' => isset($ccsender)? $ccsender:0,
           'sendirect' => isset($sendirect)? $sendirect:0
        ?>