data refresh in form

R

Rebecca

Hello out there,

I'm using Front Page 2003. I have a form that asks users to fill in their
name and other information. For reasons that are unclear to me, sometimes
when the user goes to fill in their name it fills it in automatically (it
gives them a list of values they have previously filled in for this field or
for similar fields?). This is just a standard text box, not a drop down, so
I'm assuming that windows or explorer is doing the filling in?

Anyhow, I have some javascripts that check to make sure that certain
required fields are filled in. Somehow this automatic filling in is having
strange results. The javascript will think that there is data in the field,
but when the form is submitted it doesn't really have any data in that field.
I've had similar problems in MS Access where a field will appear to be filled
in, but the data isn't really there... in Access I have to force save the
record to make the problem go away.

There is no database connected to this form, it just uses the POST method on
submit.

So I'm thinking that I either need to disable this automatic filling in
thing, or make the form refresh or save or something to make the data really
be there.

Any clues would be greatly appreciated.

Thanks!
Rebecca
 
M

MD Websunlimited

Hi Rebecca,

Autocomplete is an option in IE.

If you're not getting the information from validated textfields and you're sure your validation routines are working correctly, then
something is wrong with the code that populates the results.
 
M

MP

try making the names of the form field something totally random. then IE
will not autofill them the first time. for example instead of "name" make
it "dkerjg124" chances are the user will have never completed a form with
field called "dkerjg124" before!
 
R

Rebecca

HI,

Thanks for your thoughts... I think I have another clue and something to
try. There are 2 name fields, firstname & lastname. But the server that I'm
posting to only wants one name field called "name". Soooo... I have a little
function that concatenates the 2 names and gets called in the onchange event
of both firstname and lastname.

It seems that the problem may be that the onchange event doesn't get filled
in when the automatic population thing happens. So I'm going to try onblur
instead and see if that works.

Any thoughts?

Thanks!
Rebecca
 
R

Rebecca

HI,

This is the same response I made to the other fellow who responded... just
wanted you to get it too in case you've got email notifications set.

Thanks for your thoughts... I think I have another clue and something to
try. There are 2 name fields, firstname & lastname. But the server that I'm
posting to only wants one name field called "name". Soooo... I have a little
function that concatenates the 2 names and gets called in the onchange event
of both firstname and lastname.

It seems that the problem may be that the onchange event doesn't get filled
in when the automatic population thing happens. So I'm going to try onblur
instead and see if that works.

Any thoughts?

Thanks!
Rebecca
 
Top