hidden forms


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: hidden forms

  1. #1
    Kyle Guest

    hidden forms


    I have a form that displays the results of several calculations from data
    input into my DB. I don't really want users to have to click the submit button
    on the form to see the results. The form is on a page by itself, and I would
    rather that the users not even see it. How can I trigger the form so that
    the submit button is pressed, and the Response.Redirect automatically takes
    the user to the final page?

  2. #2
    George Guest

    Re: hidden forms


    "Kyle" <rkfinch@generationinformed.com> wrote:
    >
    >I have a form that displays the results of several calculations from data
    >input into my DB. I don't really want users to have to click the submit

    button
    >on the form to see the results. The form is on a page by itself, and I would
    >rather that the users not even see it. How can I trigger the form so that
    >the submit button is pressed, and the Response.Redirect automatically takes
    >the user to the final page?


    Do You Use OnReadyStateChange ?
    If You Don't --->

    function fnStartInit()
    {
    if (document.readyState=="complete")
    {
    document.forms(0).sumbit();
    }
    }
    And Put This In BODY Tag <BODY OnReadyStateChange = "fnStartInit()">
    This Property Will Work When The Document Is Downloaded To The User
    And It Will Submit You To Anything You Want.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center