Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
JoeBallou #1
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
-
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... -
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... -
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... -
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... -
Pass data between pages
in .net help, search for "Passing Server Control Values Between Pages" Michelle wrote: -
Michael Fesser #2
Re: Trying to pass data from one page to another
..oO(JoeBallou)
Correct, but not complete. The 'action' attribute should not be empty.> 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
And a submit button would make sense as well.
No.>, 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 link ist just a link, it doesn't submit a form.> <a href="nextpage.html"><img src="submit button.JPG" width="37" height="20"
>border="0" />
That's not how things work. You should read a bit more about HTML> On this page, I tried
>
> <td class="BlueTableData"> <object name="SSN1" ></td>
instead of just trying something that appears to make some sense to you.
The 'object' element has absolutely nothing to do with forms.
You don't need an application server, but form processing always> 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?
requires a server-side script.
I think so.>Is this what I'm missing and I need to re-start at square 1?
Micha
Michael Fesser Guest
-
Murray *ACE* #3
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
-
Michael Fesser #4
Re: Trying to pass data from one page to another
..oO(Murray *ACE*)
You can. Think of radio buttons for example, they have to share the same>You can't have two elements with the same name "SSN1", right?
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
-
Murray *ACE* #5
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



Reply With Quote

