Where can I change the success and error text?

Permalink Browser Info Environment
Hi, I want to change the success and error text into my own language, how do I do this? I hava done it on a previous site, so I know it is possible, bun now I just can't find out where to do it.
Thanks ;0)

Type: Discussion
Status: New
artnvision
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Same as any form block -- click the "options" tab when editing the block and there are fields there for the message.
artnvision replied on at Permalink Reply
artnvision
Thank you for your reply, but I can only change the success text here (Message to display when completed). Do you know where in the code I can change the error text. I also want to change the text on the button from submit to something else. As I said, I have done this before, but I just can't remember where. I have looked through all the codes in the package, but I don't think it is there.
jordanlev replied on at Permalink Reply
jordanlev
This package only provides a custom template for the built-in form block. The field names and error messages are all set in the block controller itself, so you need to look here (for 5.5 or lower):
/concrete/blocks/form/controller.php

Or here (for 5.6):
/concrete/core/controllers/blocks/form.php

-Jordan
arlenesey replied on at Permalink Reply
arlenesey
I am having the same problem. I only need to localize the form block validation, because I do most of the editing of sites for my Swiss customers. Before 5.6 this was doable, by creating a template and changing the answers in controller.php.

Now I want to use the form tableless layout addon and localize the validation.
Any suggestions?
Thanks!
jordanlev replied on at Permalink Reply
jordanlev
I unfortunately don't have an answer for you. I don't know how to localize the validation messages... but if you're saying that you modified the controller to do so before, you should be able to keep doing that (regardless of whether or not you're using this tableless-layout template -- it is just the view template and should have no bearing on the controller).

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.