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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:12:46+00:00 2026-06-13T09:12:46+00:00

I have a pipeline which I would like to work like this Section A

  • 0

I have a pipeline which I would like to work like this

Section A

  1. User navigates to form A. Selects some pictures for upload
  2. Form is submitted, images are uploaded, processed with Java in the backend and returned to user in summary page A
  3. User selects which photos to further process then clicks “Further process selected”

Section B

  1. Selected photos from A.3 are processed and displayed along with form B
  2. User selects some more options and submits
  3. Photos are displayed in form B’s summary page (summary page B)

I have section A implemented. The paths to the images are stored in form A’s model. In summary A, when the user checks a photo, a javascript array variable is updated with the selected images’ paths
What I am having trouble with passing this javascript variable to form B

Is this possible? is there an alternative? Please let me know if I haven’t explained my self well

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-13T09:12:47+00:00Added an answer on June 13, 2026 at 9:12 am

    Supplying the javascript variable to Form B is straightforward — you just add it as a global Javascript variable in the generated page. So your template would have:

    <script type="text/javascript">
    var theArrayData = @Html(theJavaScriptVariable.toString)
    </script>
    

    You could either recompute theJavaScriptVariable in your controller before passing it to the template, or you may be able to submit it along with the rest of Form A as a hidden field, and cache it with the user’s session. You would need to serialise it (e.g. with the jquery JSON library), and probably deal with escaping.

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

Sidebar

Related Questions

I have a server reading inbound newline-delimited strings. The pipeline looks like this: ...
I have a Rails 3.0 app (technically 3.0.7) which I would like to upgrade
I have got a pipeline of tasks which basically is a variation of chain
have written this little class, which generates a UUID every time an object of
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=
I have created a pipelined function which returns a table. I use this function
I would like some information on how to correctly think about C++11 closures and
I have a code like this typedef void(_stdcall * MyProcessor)(int, int); void FunctionProcess (MyProcessor
I have written a function like this let GetAllDirectAssignmentsforLists (spWeb : SPWeb) = spWeb.Lists
This is not an MVC topic. I have an ASP.NET Application which performs URL

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.