formssymfonyckeditorsubmit-button

Can't submit form using CKEditor?


I have the following form:

<form action="/web/app_dev.php/system/blog/new" method="post" >
    <div id="newblogpost">
    <div>
        <label for="newblogpost_title" class="required">Title</label>
        <input type="text" id="newblogpost_title" name="newblogpost[title]" required="required" />
    </div>
    <div>
        <label for="newblogpost_status">Status</label>
        <input type="checkbox" id="newblogpost_status" name="newblogpost[status]" value="1" />
    </div>
    <div>
        <label for="newblogpost_content" class="required">Content</label>
        <textarea id="newblogpost_content" name="newblogpost[content]" required="required"    class="ckeditor" id="editor1"></textarea>
    </div>
    <input type="hidden" id="newblogpost__token" name="newblogpost[_token]" value="f58cad16c1948231a504f592ec74edd7aaeca29d" /></div>

    <button type="submit">Cmon?</button>
</form>

For some reason, I can't get the damn thing to submit. If I disable CKEditor on my textarea field, it will submit, which (obviously) leads me to believe it's an issue with CKEditor.

I've tried a few things like various names for field inputs, an input type="submit" rather than a button, etc with no luck.

I can't seem to find anyone else having the same issue, all I end up finding is people having issues with AJAX forms. This is just a straight-forward, old-fashioned submit-able form.

Am I missing something semantic preventing this from submitting? Or can anyone else spot an issue?


Solution

  • You apparently have the problem on all browsers, and the article is quite old, but this post seems to indicate that the "required" attribute may be the source. Can you check without this attribute ?