java cookie does not work with form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

my java cookie works fine in my forms untill I add any field validation
requirments. Any hints as to why?
 
"java cookie" - do you mean JavaScript cookie? Java and JavaScript
are two very different animals that must never be mixed up. Java will
not work (not installed or blocked for security in Windows XP and IE6)
whereas JavaScript is almost universal.

When you apply validation to a FrontPage form the form name will be
changed. Any other scripts that refer to the form by name must be
amended to use that new name.
 
Thank you sooooo much for the reply. I have changed the form name to match
"<form name=idform method="POST" action="--WEBBOT-SELF--">
" where "idform" is the name of the form with no luck. is there some where
else i need to look? and yes it is a java script cookie that i am working
with.
 
If you use FrontPage validation, the form will ALWAYS be named
FrontPage_Form1

Your JavaScript that uses the cookie must be changed so that it refers
to the name FrontPage gives the form, you cannot rename the form.
A link to the published page will help.
 
That was it - i was unaware of the forced form name issue - the fact that
Frontpage allowed me to change it even though it wasn't really being changed
- but a guess it was just not recongnized.

Thank you so much for your help.

Jeff
 
http://ocens.com/wxnet1.htm is another page that i would like the cookie to
go - people go here - get the cookie an then i read it on my form - i have
the form working but cannot get it to post the cookie on this page... my
guess is it has something to do with either the name of the cookie or the
onload command.
 
The JavaScript function readID is missing a closing }.

There are several repeated JavaScript functions - the duplicates
should be removed.
 
thank you for the help- it works now - but i am unsure of the douplicate
functions - i am quite new to java scripting and just got this one from a
free posting and have managed to toy with it enought to make it work - my
only requirement it to have a entry page to post the cookie - something like
"http://www.ocens.com?buoy" and then have that cookie posted to the form when
the customer registers for our services so i can give credit to the refering
dealer (in this case "buoy".
 
http://www.ocens.com/wxnet.htm/buoy is an invalid URL structure

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|
| may java script cookies are working fine when used with a pc browser, but
| for mac users comming in on either safari or firefox they are only working if
| they come in on this page - http://wwwocens.com/registration/wx_reg.htm?buoy
| and not if they come in on this page - http://wwwocens.com/wxnet.htm/buoy
|
| The second page does not set the cookie on a mac for some reason....
 
Back
Top