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

  • Home
  • SEARCH
  • 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 8583527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:33:34+00:00 2026-06-11T21:33:34+00:00

I have a form that includes text string fields and file upload fields (for

  • 0

I have a form that includes text string fields and file upload fields (for images). I want to create a confirmation page that displays the text and photos prior to the form being saved.

I initially followed the procedure for multi-step forms from Railscasts ( http://railscasts.com/episodes/217-multistep-forms ), but this method does not seem to work with file attachments because they do not get passed from the form page to the confirmation page in the session.

What are some other common ways to build this?

I did some research and one suggested method was to actually save all of the form data to the database and to add a new field to the database called “active”. This field would be set to false upon the initial save and then updated to true when the confirmation button is clicked on the next page. I would then need to create a method that would exclude any records in the database that are set to “false” any time I am showing data from these models, correct? I’m afraid that could get messy at some point in the future.

Or is there a better way?

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-11T21:33:35+00:00Added an answer on June 11, 2026 at 9:33 pm

    You can pass the file object (in bytes) to the next step and do whatever you want with it. Pass it as a parameter to the confirmation link

    Edit:

    Check this for an example

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

Sidebar

Related Questions

I have a form that I'm submitting through AJAX. The form includes many fields,
My dilemma is this: I have a PHP page with a form that includes
I have a form field that includes a mixture of HTML and text. I
I have a form that includes the first name and last name of a
I have a form that I want to be validated before showing it initially.
I have a form that sends money value e.g <input type=text name=amount value=N50,000.00 NGN
I have a form that i want to appear at the top of every
I have a form that i want an administrator to fill out, then click
I have a winforms application that includes an Administration form (call it 'adminForm') and
So I have a form that has 4 inputs, 2 text, 2 hidden. I've

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.