Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: Form -> Cookie -> Form

Feedback on: Form -> Cookie -> Form

Sent by Mireya Picar on February 26, 1999 at 11:30:33: - feedback #96

Worth:
Very worth reading

Comments:
The script works perfectly... until I tried to add ACTION and METHOD on the FORM tag...

Would this script work if submitted to a cgi/asp?

Very well done I must say!
Thanks!




Sent by Mike Finlay on March 08, 1999 at 14:43:53: - feedback #104

Comments:
It is a great script but unfortunately does not work when you add a form action statement to submit to a cgi script.
The form action statement I need to use is :
<FORM NAME="profileForm" ACTION="/cgi-bin/zyview/D=seekercv/V=add_commit" METHOD="POST">

What do I need to do to make this work please?



Sent by Jonathan Haun on March 30, 1999 at 11:24:54: - feedback #135

Worth:
Worth reading

Comments:
If I download the source of this onto my machine, it doesn't work, but it does work on your site. Do you know why? I thought that it was a self contained document.

Thanks,
Jonathan



Sent by James Longo on August 13, 1999 at 08:59:11: - feedback #371

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
Very interesting reading about this, JavaScript makes it easy to do these things. One question though, can this handle using attachments. I've look around and haven't found a good example on this, so I was wondering if you knew. I would like to be able to email a file to someone using this.





Sent by Sam Rouse on August 20, 1999 at 17:36:18: - feedback #397

Worth:
Very worth reading

Comments:
Nice work, and a simple and elegant way of handling this. One question - is there a way to use this method if the form contents are being passed to a CGI script using method=post? I can't figure out a way to intercept the search string in this situation; I don't have access to the CGI I'm using to make changes there.





Sent by Milos Milisavljevic on September 01, 1999 at 11:59:58: - feedback #424

Worth:
Very worth reading

Comments:
Another Great Javascript example!

I'm not cleared about 1 thing:

In the 'FORM' tag, there is no 'ACTION' specified (like ACTION="http://www.com/cgi-bin/script.cgi"). How's that?

Thanks for any hint.





Sent by Millos Milisavljevic on November 08, 1999 at 12:42:54: - feedback #574

Technical:
Just right

Comments:
I wonder:

1. Does this script GENERATE a cookie, and
when the user access that particular page it
remembers all the information user enetered,
or that's possible only with server-side
cookies ? I guess this cookie example refers to the client-side cookie.

I tried this example localy on my PC. It did
"remembers" all the data entered, but I
could NOT find any cookie text not even in
my Netscape Navigator/Users/... cookies.txt, nor even in WinNT/Profiles/....

2. Are the generated cookie files I found on my
machine results of sending a cookie by server or client-side ?

Thank you for any hint.





Sent by Muthu Soundararajan on January 12, 2000 at 09:47:56: - feedback #727

Worth:
Worth reading

Comments:
Hello,

I have couple of questions.
1. Can I have more than one name and value in the same cookie.
2. Can I access a cookie that is created in a different page than the current page.

I appreciate your help.

Thank you
Muthu


Sent by Lynn Bantley on March 28, 2000 at 19:17:21: - feedback #1010

Worth:
Very worth reading

Length:
Too short

Technical:
Too technical

Comments:
Am very new to JavaScript...read your page a few times, and have tied to impelement cookies into my site.

Having troubles after making modifications. A copy of the example from your site, loaded directly onto my site works fine.

Wish the article contained some troubleshooting ideas.

Thanks...



Sent by Bryan Scott on April 20, 2000 at 15:39:12: - feedback #1122

Worth:
Worth reading

Length:
Just right

Comments:
I was having trouble getting the cookie to show back up on the form once I moved it into one of my frames.
Any help or information about where to find help dealing with JAVA in frames would be greatly appreciated.


Sent by Shawn Romano on May 10, 2000 at 15:59:33: - feedback #1208

Worth:
Very worth reading

Comments:
How can I display a Welcome back + "person's name" message using this code? Please help!


Sent by Frederick on May 15, 2000 at 08:24:34: - feedback #1228

Worth:
Not worth reading

Length:
Just right

Technical:
Just right

Comments:
Hello,

This article is good, but I steel have problem using it.
I think that my problem comes from my form because I'm not able to have a Submit button (I'm using a php3 support to handle my form ), then if I understand the init and cookie creation is not done !
Please, if you can help me with this ?
Thanks in advance,
Frederick


Sent by Zaldhie on July 12, 2000 at 07:28:21: - feedback #1482

Technical:
Too technical

Comments:
more power


Sent by Gerard Charnley on July 24, 2000 at 09:15:00: - feedback #1524

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
I'm developing an intranet site for my department at work. I have succesfully modified your form for a form of my own but have now encountered a small problem!

The form is a feedback form so i when the user hits submit it sends me an email with the details of the form. I have achieved this using an asp script.

However when i combine the two scripts the asp script functions okay but the javascript ceases to function!

The asp script is initiated when the submit button is hit (the main <form> html tag uses the method="post" and onaction="asp script" lines).

Are you able to help?

Many thanks.


Sent by Akram on July 28, 2000 at 10:35:51: - feedback #1548

Worth:
Worth reading

Comments:
You did not mentioned in the script if you can get the cookies and assign it to hidden type elements.


Sent by Mark Preston on August 19, 2000 at 17:36:21: - feedback #1643

Worth:
Very worth reading

Comments:
Does this system work using both
Internet Explorer 5 and
Netscape Navigator now?



Sent by Vandana on September 15, 2000 at 06:57:17: - feedback #1756

Length:
Too short

Comments:
Can you please help me urgently.
I need to write the code in JavaScript which submits a form on click of the submit button and at the same time send the subject too.


Sent by Kate on October 16, 2000 at 02:02:35: - feedback #1868

Worth:
Worth reading

Comments:
Useful tips!


Sent by bob basques on December 29, 2000 at 19:45:05: - feedback #2189

Worth:
Very worth reading

Length:
Too short

Technical:
Not technical enough

Comments:
First before I forget, the link to "Chocolate Chip cookies" near the middle of the page links back to the same page.

I've been looking for a Forms/Cookies tutorial, and this has been the best sofar.

I didn't find everything I needed, but it's definitely gotten things jumpstarted.

Thanks

bobb

P.S. If I understand things correctly, I can just add/subtract value pairs from/to (with multiple forms? spanning layers) and once satisfied update a hidden form in the main page with the complete set of cookie value pairs and submit it.

Is this right?


Sent by Youss Mamadou on January 25, 2001 at 20:43:25: - feedback #2284

Worth:
Very worth reading

Comments:
Excellent work. Question: How can you make the script work with <input type="button"> instead of submit (i.e Persistance across session without the <input type="submit">)


Sent by Marcus Green on February 21, 2001 at 04:00:52: - feedback #2407

Worth:
Very worth reading

Comments:
Appears to work completey using MSIE5 but not too well in IE4


Sent by Jennifer Jenkins on July 02, 2001 at 15:30:20: - feedback #2930

Worth:
Very worth reading

Comments:
This was helpful, however I am trying to set a cookie for a very large form set over several pages. Puting the form 'all on one page'(like your recent article) is not really an option due to design factors. Is there a way I can set my cookie value? before proceeding VS doing a submit to the next pages url search string?


Sent by KG on February 08, 2002 at 09:08:48: - feedback #3577

Length:
Too short

Comments:
I see nothing in this article or script that sends a copy of the form data to the site that hosts the form. What's the use of automatically refilling a form if the data is only sent a cookie on your computer but not to the company your trying to contact?


Sent by jeff ellington on May 17, 2002 at 12:14:21: - feedback #3871

Worth:
Very worth reading

Length:
Just right

Comments:
very good idea. it is getting right at what i am looking for. i tried the working example and the email is sent, however i cannot figure out how to view the email in the original form format. please help. my form is currently only a page without the input fields put in yet which can be viewed at http://members.cox.net/bakertech
please view it and any help would be nice. my goal is to have an email sent to me exactly like my example but with the form fields filled in. this page is for our field technicians to fill out, then our secretaries will input the data in to a database manually. just think they do this every day from paper fax. this is for non frofit use, and i am an amature web page designer who needs some help.
Thanks,
Jeffery Ellington


Sent by JW Bosma on August 28, 2002 at 08:03:51: - feedback #4102

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
I like to know if there is another way than submit to put the values into the cookie. I want to know because on my form I also has a calculation but I cant get the calculated values instantly saved in the cookie.


Sent by ra on September 09, 2002 at 05:14:21: - feedback #4130

Worth:
Very worth reading

Length:
Just right

Comments:
good



Sent by Michal B on December 31, 2002 at 11:53:08: - feedback #4339

Worth:
Worth reading

Length:
Too long

Technical:
Just right

Comments:
There is a small problem, this doesn't work on aol 8


Sent by Chris Newman on Tuesday February 12, 2008 at 06:06:05 - feedback #5207

Worth:

Length:

Technical:

Comments:
Excellent




©2018 Martin Webb