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 869327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:17:21+00:00 2026-05-15T10:17:21+00:00

While a user is filling out one form, I want them to be able

  • 0

While a user is filling out one form, I want them to be able to open up a new form, probably in Lightbox, and be able to save the contents that the separate form produces into a hidden field on the original form.

I’m using the separate form to manipulate an image and I need to be able to return the path to that image to the original form.

Is this possible with jQuery/AJAX?

—

Product Form:

<form>
Name <input type="text" name="name" />
Description <textarea name="description"></textarea>
Price <input type="text" name="price" />
<button>Upload Image</button> <!-- Open new form with Lightbox to upload, manipulate,
then return image path to this form. -->
</form>

Image Form:

<form action="manipulate.php"> <!-- Goes to another page for manipulation, upload -->
<input type="file" name="image" id="image" />
<input type="submit" name="Upload" />
<form>

Manipulate: Uploads the final image to a folder. I want to be able to return the path to the Product form.

  • 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-05-15T10:17:21+00:00Added an answer on May 15, 2026 at 10:17 am

    The biggest problem here is the file upload with Ajax. Of course there are some JQuery Ajax uploaders – this was the first in the list: http://valums.com/ajax-upload/.

    As you may see this one has callbacks which will return some server response see onComplete().

    Basically you should pass the file path of the uploaded file as response and then it will be very easy to pass that string to the original form.

    This is very basic explanation, but at least it could give you the idea how to to it.

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

Sidebar

Related Questions

what happens if an user trying to read HttpContext.Current.Cache[key] while the other one trying
While filling out secure forms on bank websites, I have always wondered how they
I want to send a list of User object into action, while user has
I'm having problems with my application receiving low memory warnings while the user is
I believe that I have successfully impersonated my own user account while running an
I'm a VMware user and far too often I use keyboard shortcuts while programming.
I'm having trouble granting privileges to another user in PostgreSQL 8.3. While the GRANT
How can I, when a user clicks a link, open a div right underneath
So let's say I have an MVVM application and I want the user to
Basically I am trying to make a simple form that allows the user to

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.