Trying to pass data from one page to another

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Trying to pass data from one page to another

    I have tried and tried to find an answer in DW help, and feel like I'm close,
    but can't figure out the final step.

    All of the fields in my page are in a table format, if that matters. What I
    am trying to do is collect data in one page and have it presented in the next
    page.

    In my first page, I collect data in text fields. I defined them using the
    following code:

    <form id="SSN1" name="SSN1" method="post" action="">
    <input type="text" name="SSN1" />
    </form>

    I don't know if this is correct, but I guess it makes sense to me. I created
    a form named SSN1 and used a text field named SSN1 to collect the data. Would
    this assign the value entered by the user in a field named SSN1, that I could
    access in the next hyperlinked page (accessed through <a href...> statement

    <a href="nextpage.html"><img src="submit button.JPG" width="37" height="20"
    border="0" />

    On this page, I tried

    <td class="BlueTableData"> <object name="SSN1" ></td>

    to retreive the data (hopefully) sent from the previous page. What I get are
    5 vertically stacked messed up table cells with </td> and </tr> instead of the
    first row of my table. (The table is 8 columns wide)

    Anyway, this is only for a prototype to show how 2 web pages will work
    together, not a full web site. Do I still need an application server and web
    server to do this? Is this what I'm missing and I need to re-start at square 1?

    Thanks for your help.:confused;

    JoeBallou Guest

  2. Similar Questions and Discussions

    1. Pass flex data grid to CFC
      I am using Flex JSP to create a Data Grid on a page. I need to save the entire contents of this Data Grid, but I am having issues with calling CFC...
    2. How to pass data
      I need help with a small problem. I am working on a CourseBuilder 15 question test with each question is on its own page. I want to keep track of...
    3. pass data from dataset to usercontrol
      I have a usercontrol with some textboxes in it. The usercontrol is called Personal and the first textbox in it txtName. After the click button...
    4. how to pass data?
      You could create a recordset that retrieves the most recently added record by that user, maybe selecting the Max(ID) from the database, dunno what...
    5. Pass data between pages
      in .net help, search for "Passing Server Control Values Between Pages" Michelle wrote:
  3. #2

    Default Re: Trying to pass data from one page to another

    ..oO(JoeBallou)
    > All of the fields in my page are in a table format, if that matters. What I
    >am trying to do is collect data in one page and have it presented in the next
    >page.
    >
    > In my first page, I collect data in text fields. I defined them using the
    >following code:
    >
    > <form id="SSN1" name="SSN1" method="post" action="">
    > <input type="text" name="SSN1" />
    > </form>
    >
    > I don't know if this is correct
    Correct, but not complete. The 'action' attribute should not be empty.
    And a submit button would make sense as well.
    >, but I guess it makes sense to me. I created
    >a form named SSN1 and used a text field named SSN1 to collect the data. Would
    >this assign the value entered by the user in a field named SSN1, that I could
    >access in the next hyperlinked page (accessed through <a href...> statement
    No.
    > <a href="nextpage.html"><img src="submit button.JPG" width="37" height="20"
    >border="0" />
    A link ist just a link, it doesn't submit a form.
    > On this page, I tried
    >
    > <td class="BlueTableData"> <object name="SSN1" ></td>
    That's not how things work. You should read a bit more about HTML
    instead of just trying something that appears to make some sense to you.
    The 'object' element has absolutely nothing to do with forms.
    > Anyway, this is only for a prototype to show how 2 web pages will work
    >together, not a full web site. Do I still need an application server and web
    >server to do this?
    You don't need an application server, but form processing always
    requires a server-side script.
    >Is this what I'm missing and I need to re-start at square 1?
    I think so.

    Micha
    Michael Fesser Guest

  4. #3

    Default Re: Trying to pass data from one page to another

    You can't have two elements with the same name "SSN1", right?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Michael Fesser" <netizen@gmx.de> wrote in message
    news:tj51n211ctlt2m6u7jgfno59ilb501piu6@4ax.com...
    > .oO(JoeBallou)
    >
    >> All of the fields in my page are in a table format, if that matters.
    >> What I
    >>am trying to do is collect data in one page and have it presented in the
    >>next
    >>page.
    >>
    >> In my first page, I collect data in text fields. I defined them using
    >> the
    >>following code:
    >>
    >> <form id="SSN1" name="SSN1" method="post" action="">
    >> <input type="text" name="SSN1" />
    >> </form>
    >>
    >> I don't know if this is correct
    >
    > Correct, but not complete. The 'action' attribute should not be empty.
    > And a submit button would make sense as well.
    >
    >>, but I guess it makes sense to me. I created
    >>a form named SSN1 and used a text field named SSN1 to collect the data.
    >>Would
    >>this assign the value entered by the user in a field named SSN1, that I
    >>could
    >>access in the next hyperlinked page (accessed through <a href...>
    >>statement
    >
    > No.
    >
    >> <a href="nextpage.html"><img src="submit button.JPG" width="37"
    >> height="20"
    >>border="0" />
    >
    > A link ist just a link, it doesn't submit a form.
    >
    >> On this page, I tried
    >>
    >> <td class="BlueTableData"> <object name="SSN1" ></td>
    >
    > That's not how things work. You should read a bit more about HTML
    > instead of just trying something that appears to make some sense to you.
    > The 'object' element has absolutely nothing to do with forms.
    >
    >> Anyway, this is only for a prototype to show how 2 web pages will work
    >>together, not a full web site. Do I still need an application server and
    >>web
    >>server to do this?
    >
    > You don't need an application server, but form processing always
    > requires a server-side script.
    >
    >>Is this what I'm missing and I need to re-start at square 1?
    >
    > I think so.
    >
    > Micha

    Murray *ACE* Guest

  5. #4

    Default Re: Trying to pass data from one page to another

    ..oO(Murray *ACE*)
    >You can't have two elements with the same name "SSN1", right?
    You can. Think of radio buttons for example, they have to share the same
    name to work as expected. Of course you can't have two elements with the
    same ID "SSN1" on one page.

    Micha
    Michael Fesser Guest

  6. #5

    Default Re: Trying to pass data from one page to another

    Right. Thanks!

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Michael Fesser" <netizen@gmx.de> wrote in message
    news:bqf8n2l37lvu7iflv42aogrr46p12env3g@4ax.com...
    > .oO(Murray *ACE*)
    >
    >>You can't have two elements with the same name "SSN1", right?
    >
    > You can. Think of radio buttons for example, they have to share the same
    > name to work as expected. Of course you can't have two elements with the
    > same ID "SSN1" on one page.
    >
    > Micha

    Murray *ACE* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139