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.
Copy link to clipboard
Copied
This should help you:
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?
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.
Copy link to clipboard
Copied
Yes that's right, validation error messages
Copy link to clipboard
Copied
Oh ok, I'll try that. Thanks a lot