Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do you get data from one form to a label in another form?

    I am just wondering how you get data from one form into a label in another form??

  • #2
    Regular Coder
    Join Date
    Oct 2008
    Posts
    214
    Thanks
    5
    Thanked 22 Times in 22 Posts
    Can you be more specific?

    I'm guessing you are speaking in an HTML document?

    I'll put something like:
    var myInput = document.getElementById('some_input_id');
    var myDestination = document.getElementById('destination_id');
    myDestination.innerHTML = myInput.value;
    in some event (like "onblur").

    Yeah, innerHTML is not best way to do it, but let's keep it simple since i'm not even sure you want to do this in JavaScript

  • #3
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is in Mircosoft Visual Studio in c# (cSharp)

  • #4
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In my program i wish to enter information on the first coulple of forms and then display the data in labels on the last form for confirmation.

    In other words i want to retrieve multiple data from multiple forms to the last form but dont know how.

    HELP PLEASE!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •