WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Bootstrap Modal Window Error

[Resolved] Bootstrap Modal Window Error

  • Hey Jeff,

    Great plugin! Thanks for being responsive on the support forum to.

    So I have a unique case. I am trying to get the plugin to work inside of a modal window within the Bootstrap framework, but the posts are not going through to the post queue.

    It feels like a successful submission when you hit enter, but the posts don’t go through.

    Here is the link: http://www.universityconfessions.com/stage/

    And the modal pops open when you hit the red button in the top right corner.

    I have set the posts to auto-publish for the sake of testing.

    Any thoughts?

    Thanks in advance!

    http://wordpress.org/plugins/user-submitted-posts/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Also, it should be noted that it is working outside of the modal wrapper.

    Moved the site to http://www.universityconfessions.com/site (WordPress crashed on my other installation.)

    Plugin Author Jeff Starr

    @specialk

    For the form element, I’m seeing only this:

    <form class="form-horizontal">

    ..compare with the form provided by the plugin:

    <form id="usp_form" method="post" data-validate="parsley" enctype="multipart/form-data" action="" novalidate>

    The missing attributes result in the form data not getting posted. That would be the first thing to look at.. then also ensure that all field/inputs include the required attributes.

    Hi Jeff,

    Thank you for the reply.

    I haven’t done anything to modify the code except for adding inline styles to the inputs. The weird thing is, the code functions properly outside of the bootstrap modal (as you can see in the sidebar widget: http://www.universityconfessions.com/site/,) it’s just when the form is on the inside of the modal that it’s bunking.

    Plugin Author Jeff Starr

    @specialk

    Understood, but as far as I know any HTML form requires specific elements/attributes to function. I would make sure the form is complete and go from there. Good luck.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Bootstrap Modal Window Error’ is closed to new replies.