I would like to make a web application (PHP) that will have overlay container that contain dynamic fields/forms.
I would like the user to complete the form but not be taken away from the main part of the page.
Imagine, browsing a website and reporting a page error into an overlay but not being taken away from the page you were reading.
Also, is it possible to make the form multiple parts/pages, such as user clicks next button and the next part of the form is presented?
A single-page application (SPA) is a web application or website that interacts with the user by dynamically rewriting the current web page with new data from the web server, instead of the default method of a web browser loading entire new pages.
A web application is a collection of static and dynamic web pages. A static web page is one that does not change when a site visitor requests it: The web server sends the page to the requesting web browser without modifying it.
There are three main components of creating dynamic web pages: a web server, a server-side programming language, and a database.
Nice example of this type of web app here, with some useful tips:
What you are looking for is called ajax.
Using jQuery you could easily create the kind of form you want where the whole page is not reloaded upon submission.
Going into more details, check out jQuery UI. There a set of usually very simple to implement power tools to help create a dynamic webpage.
So jQuery UI stuff for layout (look at tabs) and ajax through jQuery for your communication with the server (PHP).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With