Ajax: hide form after submission.

Support MB Frontend Submission Ajax: hide form after submission.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35627
    RodrigoRodrigo
    Participant

    Hi Long,

    Is it possible to hide the frontend form after an AJAX submission and display only the confirmation message?

    Thank you once again.

    #35630
    RodrigoRodrigo
    Participant

    I tried to add edit="false" manually in the shortcode, but it had no effect.

    If I change

    c||!n?e.prepend(t):e.replaceWith(t)

    with

    c=="true"||!n?e.prepend(t):e.replaceWith(t)

    in frontend-submission.js, then only the confirmation message appears after form submission.

    #35638
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Currently, there is no option to hide the form after submitting a post and enabling Ajax. I will inform the development team to consider supporting this case in future updates.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.