ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Strange behaviour from Safecracker?

September 11, 2011 11:07am

Subscribe [2]
  • #1 / Sep 11, 2011 11:07am

    Henrik Eklund

    34 posts

    EDIT

    Nevermind, it seems that this problem was caused by our .htaccess. You can close this…

    Thx, Henrik

    ...........

    Hi,

    We use Safecracker to allow visitors to register their information on this site - http://www.windindustry.se/index.php/registrering.

    Many have complained about poor performance, sometimes they are not even able to complete their registration because their browser hangs. This can apparently occur anywhere on the form

    When I look via Firebug, it seems that /index.php?&ACT=10&action=setup are made several times (see attached image) Is that so? Is this what is causing the problem and how do I resolve this?

    We’re using EE 2.2.2. We use Safecracker file, Matrix and P&T Checkboxes.

    Template code (simplified):

    {exp:safecracker channel="registrering" logged_out_member_id="1" return="registrering/URL_TITLE" URL_TITLE="{segment_2}"}
            
        <label>Företagsnamn</label>
        <input type="text" name="title" id="title" value="{title}" />
            
        <label>Organisationsnummer</label>
        <input type="text" name="organisationsnummer" id="organisationsnummer" value="{organisationsnummer}">
            
        <label>Gatuadress huvudkontor</label>
        {field:gatuadress}
            
        <label>Postnummer</label>
        {field:postnummer}
            
        <label>Postort</label>
        {field:postort}
            
        <label class="matrix">Ange län och kommun(er)
        {field:geografi}
    
        <label>Skriv in ordet som du ser i bilden nedan innan du skickar formuläret</label>   
        <input type="text" name="captcha" value="{captcha_word}" maxlength="20" />
        <span class="captcha">{captcha}</span>
    
            
        <button type="submit" class="submit">Skicka formulär</button>
    
    {/exp:safecracker}

    /Henrik

  • #2 / Sep 11, 2011 9:05pm

    Sue Crocker

    26054 posts

    Hi Henrik Eklund, Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases