This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

How to submit form via AJAX?


  1. peter4563
    Member

    I've build a website based on Bootstrap, and am using a Modal to show a form.
    I don't want to use any iFrame related embeds, as it generates extra blank space below the form because of the set iFrame height (which is rarely correct) (and cause all sorts of other issues).

    The problem with the PHP embed solutions is that if a form gets submitted, the entire page refreshes, and the modal is gone (also when there were errors on the form). A solution to this would be to use AJAX, so it updates the content directly in the form without a page refresh. Unfortunalety I'm not a coder, so I'm looking for a working example.

    Posted 11 years ago #

RSS feed for this topic

Reply