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.

Comment Submission Form Failing in Safari

October 04, 2012 3:25am

Subscribe [2]
  • #1 / Oct 04, 2012 3:25am

    Edd Smith

    19 posts

    Hey Guys

    For some reason my comment submission form works in chrome and firefox but not in safari. Anyone got any ideas?

    It just runs the return and does not actually submit the form for processing. I have narrowed it down to the text area which is (i think)  the source of the issue as removing the text area makes the form work (or at least give an error saying you need the comment field).

    Code is as follows….

    {exp:comment:form entry_id="23" return="http://urlgoeshere.co.uk" }
    <input type="text" class="commentInput1" value="Your Name…" name="name" />
                
    <textarea name="comment"  cols="70" rows="10" class="commentField" />Add a comment…</textarea>
               
     <input type="submit" name="submit" value="submit" />      
     {/exp:comment:form}

    All the extra bumf around the input fields is to set a value on focus. I have tried removing this off the text field and it still does not work.

  • #2 / Oct 05, 2012 4:25pm

    Dan Decker

    7338 posts

    Hi Edd,

    Thanks for posting on the forums!

    Try including the {comment} variable:

    <textarea name="comment" cols="70" rows="10">{comment}Add a comment…</textarea>

    Let me know the results.

    Cheers,

  • #3 / Oct 05, 2012 5:26pm

    Edd Smith

    19 posts

    I modded the code slightly so i could submit the form with ajax and in the process i somehow fixed this issue. Im not sure what the issue was or how i fixed it but i did!

  • #4 / Oct 08, 2012 12:56pm

    Shane Eckert

    7174 posts

    Hey there EDD,

    Well that rocks. Glad it’s fixed!

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases