Edit Postback input field value and return back to View

Jun 17, 2016 at 8:43 AM
Hi, firstly I would like to say that this a wonderful project and has helped get me out of big issue I have had, thank you.

Now, I am able to very easily build dynamic forms from XML documents that retrieved from a database and everything works fine. What I need to do now however seems a little trickier. One of the forms that I am working on has paging built into it. I have included a hidden form field in my dynamic form and what I need to do is to be able to access and update that hidden form field value and then return the postback back to the view without having to rebuild the form. Is it possible to do this? Something like this;
    [AcceptVerbs(HttpVerbs.Post)]
    public ActionResult Report(Form postBack)
    {
        if (postBack.Validate()) //input is valid
        {
            // Retrive hidden paging field value from postback here

            // Process paging

            // Update hidden paging field value in postback here

            return View("Filters", postBack);
        }

        // input is not valid
        return View("Filters", postBack);
    }