Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

ASCII characters showing as code in form validation

New Here ,
Sep 25, 2013 Sep 25, 2013

Hi,

I was building a version of a web form in Spanish, and in the front end validation all the ASCII characters for the accented letters are showing up as code.

Also, I wanted the names to go into the CRM like the typically do, so I used the First Name, Last Name fields and just changed the label.  However these show up in the alert as "First Name" and "Last Name".

Any ideas about how to solve these issues?

Thanks,

Jeff

TOPICS
How to
961
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 25, 2013 Sep 25, 2013

Is your content-type set to UTF-8 in your meta tags?

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 25, 2013 Sep 25, 2013

Could be pasting html into the editor design mode?

You need to provide a bit more information for us as we can only have a guess at one of the posible issues

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 01, 2013 Oct 01, 2013

I made sure <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> was in the head tag, but I'm still seeing the issue.  Thanks for the idea though.

Here is a link to a copy of the form. 

http://jefftestsite.namastecms.com/spanish-form.html

Thanks for the help!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 01, 2013 Oct 01, 2013
LATEST

Ah I figured out the issue.

I created the form in BC, but when it created the validation javascript, it put the ASCII code inside the text strings that pop up, and they are being read literally. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines