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.

Safecracker: liveURLtitle javascript error

November 09, 2012 4:32am

Subscribe [2]
  • #1 / Nov 09, 2012 4:32am

    Heiko

    135 posts

    I’m having a little trouble with Safecracker publish-forms being unreliable from time to time, meaning the forms won’t submit on the first try, although all of the required fields are filled out correctly.

    After some attempts it usually works and it doesn’t always happen. But when it does it’s pretty annoying, because all form fields get cleared.

    Now, I get the following error-message in Firebug’s JavaScript-console:

    document.forms.entryform is undefined
    
    Line 681

    Maybe this is related?

    I’m using the liveURLtitle function in my SAEF as follows:

    <input class="text input require" type="text" name="title" id="title" value="{title}">
    <input class='text input' type='hidden' name='url_title' id='url_title' value='{url_title}'>
  • #2 / Nov 12, 2012 10:22am

    Shane Eckert

    7174 posts

    Hello Heiko,

    I am sorry to hear you are running into this problem.

    Can you tell me which version of ExpressionEngine you are running?

    I would like to see the entire contents of the SC form. Can you please include that?

    Does this happen in browsers other than FireFox?

    Please let me know and we can go from there.

    Thank you,

  • #3 / Nov 12, 2012 10:33am

    Heiko

    135 posts

    Hey there, thanks for listening.

    I’m running EE 2.5.2 and in the meanwhile I noticed, that this happens with Safari 6 on OS X only.

    Firefox, Chrome and others do not seem to have a problem here, but Safari even shows this behaviour, when submitting forms in the CP.

    I’m gonna paste the template later, but this seems to be browser-specific.

  • #4 / Nov 12, 2012 10:34am

    Heiko

    135 posts

    Hey there, thanks for listening.

    I’m running EE 2.5.2 and in the meanwhile I noticed, that this happens with Safari 6 on OS X only.

    Firefox, Chrome and others do not seem to have a problem here, but Safari even shows this behaviour, when submitting forms in the CP.

    I’m gonna paste the template later, but this seems to be browser-specific.

  • #5 / Nov 13, 2012 12:38pm

    Shane Eckert

    7174 posts

    Hey there Heiko,

    Thanks for letting me know.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases