I create a simple form in FrontPage, with a single field which I
select via FrontPage to be numeric. FrontPage automatically generates
some Javascript to verify this field, and if the validation fails,
outputs the error with an Alert() javascript function.
This works fine on my local server or when I just launch the html
file. When I publish it to my web server, the text in the alert is
turned into strange HTML character sequences such as
الر -- The expected Alert string the FrontPage
generates is
"Please enter only digit characters in the T1 field."
However, the Alert string that is returned after I publish it is
filled with strange HTML characters. My guess is that these are some
foreign character set or something. Of course, I expect the alert
string to be unchanged. You can view the script and the source at
http://www.insulators.com/script.htm
Type in ABC and see the alert error.
This used to work fine on my web server. If you FTP the file over, it
works fine. So, somehow during the FrontPage publishing process the
text ONLY in the alert javascript string is changed. The web server is
running on Unix and has the FrontPage 2002 extensions installed. I am
running FrontPage 200 (V4) on Windows XP professional SP1. I run the
web server, and can provide the contents of any file or change any
file you wish.
I have already attempted to look for an answer and this is driving me
crazy! I run a server with many virtual hosts, so I can not remove and
reinstall the entire FrontPage package as that would reset the
FrontPage information for all my clients. I have however removed and
reinstalled the extensions for a given virtual host and the problem
still exists.
I assume this is a "simple" setting somewhere, but I don't have a
clue, nor do I understand what may have changed it. I have had other
people try this with other computers, so I'm pretty sure it is not a
setting specific to my computer.
The answer I expect is simply how to publish my file to avoid this
error; or what settings I can change to allow this to work. |