Feedback on: Form -> Cookie -> Form
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!
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?
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
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.
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.
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.
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.
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
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...
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.
Worth:
Very worth reading
Comments:
How can I display a Welcome back + "person's name" message using this code? Please help!
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
Technical:
Too technical
Comments:
more power
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.
Worth:
Worth reading
Comments:
You did not mentioned in the script if you can get the cookies and assign it to hidden type elements.
Worth:
Very worth reading
Comments:
Does this system work using both
Internet Explorer 5 and
Netscape Navigator now?
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.
Worth:
Worth reading
Comments:
Useful tips!
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?
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">)
Worth:
Very worth reading
Comments:
Appears to work completey using MSIE5 but not too well in IE4
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?
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?
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
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.
Worth:
Very worth reading
Length:
Just right
Comments:
good
Worth:
Worth reading
Length:
Too long
Technical:
Just right
Comments:
There is a small problem, this doesn't work on aol 8
Worth:
Length:
Technical:
Comments:
Excellent