Ajax

PHP-Bootstrap-Form provides a very simple way for Ajax form submissions. To get started, you'll first need to set the 'Ajax' property in the form attributes with a name of a javascript callback function to called after the form's data has been submitted.

Please note, that json reply should come with a content-type set to application/json or it will be ignored.

Ajax submit example:

Still need help? Contact Us Contact Us