Home › Toolset Professional Support › [Resolved] How to modify the validation messages for fields used in a CRED form?
Problem:
How to modify the validation messages for fields used in a CRED form?
Solution:
Standard fields and non-Types fields use the validation messages specified in the form.
For Types fields the validation messages are set on custom fields themselves.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
Tagged: Content-submission forms, Toolset Forms
Related documentation:
This topic contains 2 replies, has 2 voices.
Last updated by jeffS-2 6 years, 8 months ago.
Assisted by: Nigel.
I am trying to:
Change the form message from "Please enter a valid URL address" to "Please enter a valid URL address... ex: hidden link".
Link to a page where the issue can be seen:
hidden link
I expected to see:
The new validation error message.
Instead, I got:
The original message.
I have cleared all cache and tried 3 browsers. Still get original message.
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
Hi Jeff
You set the custom validation message on the settings for the post field itself, i.e. go back to edit the custom field at Toolset > Post Fields.
The small print at the top of the section from the form you show in your screenshot says "They are used only for validation of generic fields and some basic fields, for example, the post title and username." Not Types fields which supply their own validation messages.
Got it. Fixed.
Thanks, Nigel.
Jeff
-----