Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8137379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:05:55+00:00 2026-06-06T11:05:55+00:00

I have a very complicated form which has multiple stages in it. Each stage

  • 0

I have a very complicated form which has multiple “stages” in it.

Each stage has forms where the user adds indefinite numbers of rows. Each time the user clicks “continue” these forms save to the database (each “stage” has its own table in the database) and the next stage is shown.

I’m worried about users pressing “back” in order to get the the previous form (if they’ve made a mistake or something).

The only three ways I can think to solve this problem is:

  1. Disallow people to press back. If they do send them straight to the first form to start again.
  2. Check the database when the form page is requested. If there are rows already then delete those rows and start the user again on the form they’re on.
  3. [potential – This is going to be harder because I’m using codeigniter’s form_validation library] Check the database when users press back. Get any current values out and put into the form as default values. Then on submit, remove any rows and replace with form values.

How do you guys do this kind of form? Its getting really ridiculous the amount of logic just for some forms! haha, is there a better way to do this? I suspect that number 3 above is the best option?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:05:56+00:00Added an answer on June 6, 2026 at 11:05 am

    I have used the third option on various occasions, though depending on the size of the form, this can certainly get overwhelming, not to mention the fact that I haven’t used CodeIgniter’s validation before.

    Many issues arise from the first two options that should be avoided if possible [Including, but not limited to: Mistakes that aren’t able to be corrected, hairy database logic, etc.], but the reward of having happy users is invaluable.

    Hope this helps!

    Mason

    To give a visual summary of what users may think if they can’t go back, I have included this image.

    http://momentumshift.com/wp-content/uploads/2011/05/senior_woman_using_computer_mon142089.jpg

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very complicated windows application which has 8 forms. There are Previous
I have a very complicated site built on CSS3 that has html elements 3d-transformed,
I have a form that asks users to input numbers into multiple form fields.
I have a very complicated form and I choose to not use ModelForm since
I have a very complicated class(it has unordered_map and so on on inside it)
I have a very complicated problem that occurs only for non-admin windows user. I
I have put together a very complicated search form. Using arrays I have managed
Windows Forms, .net 2.0 My main application thread has a form (A). I have
I have a rather complicated (and very inefficient) way of getting utilisation from a
Im having a very strange problem, i have a complicated view that returns incorrect

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.