I have a html form which is quite lengthy. I want to split the form or make steps by adding a continue button at the bottom of the form. can you suggest how to do it? also if possible please create the PHP code?
Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are a few ways to split a form into multiple steps, but one of the easiest is to use JavaScript or jQuery to hide and show different sections of the form based on the user’s progress. Here’s an example using jQuery: