|
|
![]() |
#1 |
Member
Join Date: Aug 2005
Location: Philadelphia, PA 19130
Posts: 2,158
|
![]()
If someone is learning to do forms, but doesn't publish the HTML, is there an easy way to test the form and its output? For example, can the information entered go into a sequential file?
Last edited by dthomsen8; 04-11-2006 at 11:13 AM. Reason: typo |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Dec 2004
Location: In the heart of Lake Minnetonka
Posts: 337
|
![]()
You can view the form just by browsing the HTML file, but to test clicking the "submit" button (or associated javascript) you need a webserver to accept the GET/POST request. Furthermore, note that the browser will *expect* a response from the submit.
|
![]() |
![]() |
![]() |
#3 | |
Member
Join Date: Aug 2005
Location: Royal Oak, Detroit suburb
Posts: 174
|
![]() Quote:
But to do anymore then use an existing program, you will have to do some coding in something like PHP, PERL, or whatever... It's likely that there is a script out 'there' that will fit your needs. Happy searching. |
|
![]() |
![]() |
![]() |
#4 | |
Member
Join Date: Aug 2005
Location: Philadelphia, PA 19130
Posts: 2,158
|
![]() Quote:
http://www.19121.com/cis230.htm You will see how entering the data and doing the submit provides immediate results to the user. The results are transferred with parameters in the URL, so the HTML could be executed with the browser in Dreamweaver, instead of through the published web site. Notice how the absolute address with HTTP is in the code, to send the results through my web site. This technique depends on using the "GET" method, but it has the advantage of not requiring publishing the student's work. The students don't know any PHP or PERL, so the objective was to find a way to provide results which show that their HTML is correct, generated with Dreamweaver MX 2004, without publishing and without coding in another language. |
|
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Feb 2005
Location: Sarnia, Canada
Posts: 1,122
|
![]()
Well, if you have a server on your machine, you can view the page using the localhost: address, and then you will be able to deal with your form variables in the program of your choice.
Also, Javascript can read form variables that are sent from one page to another. Sorry, but I don't have any site references. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Learning from mistakes | LoisWakeman | The Corner Pub | 6 | 04-03-2007 01:17 AM |
Learning CSS | RJ Emery | Web Site Building & Maintenance | 10 | 02-04-2007 06:45 AM |
CSS problem - learning experience | Daudio | Web Design | 2 | 07-21-2006 06:46 AM |
<label> for forms | dacoyle | Web Design | 21 | 05-03-2006 10:59 AM |
Learning MS Word | dthomsen8 | General Publishing Topics | 3 | 12-27-2005 05:04 PM |