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

customising validation alert window

Contributor ,
Aug 05, 2014 Aug 05, 2014

Copy link to clipboard

Copied

Hi,

I wondered if someone could tell me if it's possible to customise the output of validation errors that appear in the alert popup if required fields are not completed?

I assume that I'd have to edit the file at the following path:

CatalystScripts/ValidationFunctions.js

If yes, can anyone tell me where that file is located in the site structure.

Thanks in advance.

TOPICS
Newbie Corner

Views

350

Translate

Translate

Report

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 ,
Aug 05, 2014 Aug 05, 2014

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

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
Contributor ,
Aug 05, 2014 Aug 05, 2014

Copy link to clipboard

Copied

Thanks for the link,

The problem is that it only lets you customise certain alert messages (related to an online store) whereas I need a way to customise specific messages related to my custom form. Do you know if there is another way to do this?

Votes

Translate

Translate

Report

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
Explorer ,
Aug 05, 2014 Aug 05, 2014

Copy link to clipboard

Copied

Are you referring to the validation error messages you get with your form? If so, you can customize those buy editing the text in the JavaScript that gets outputted below your form.

Votes

Translate

Translate

Report

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
Contributor ,
Aug 05, 2014 Aug 05, 2014

Copy link to clipboard

Copied

Yes that's right, validation error messages

Votes

Translate

Translate

Report

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
Contributor ,
Aug 05, 2014 Aug 05, 2014

Copy link to clipboard

Copied

LATEST

Oh ok, I'll try that. Thanks a lot

Votes

Translate

Translate

Report

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