Google Answers Logo
View Question
 
Q: FrontPage publish corrupts text used in Alert javascript form validation ( No Answer,   0 Comments )
Question  
Subject: FrontPage publish corrupts text used in Alert javascript form validation
Category: Computers > Software
Asked by: hemingray-ga
List Price: $25.00
Posted: 08 May 2004 10:46 PDT
Expires: 07 Jun 2004 10:46 PDT
Question ID: 343224
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.

Clarification of Question by hemingray-ga on 08 May 2004 10:54 PDT
I do not want an answer that uses javascript that is not generated by
FrontPage. I know this can be done, and it's not hard.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy