WordPress.org

Forums

User Submitted Posts
[resolved] Bootstrap Modal Window Error (6 posts)

  1. dottenad
    Member
    Posted 1 year ago #

    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/

  2. dottenad
    Member
    Posted 1 year ago #

    Also, it should be noted that it is working outside of the modal wrapper.

  3. dottenad
    Member
    Posted 1 year ago #

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

  4. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. dottenad
    Member
    Posted 1 year ago #

    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.

  6. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic