Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Textarea Field and MySQL statements

Go to End



Community Member, 60 Posts

11 July 2017 at 8:49pm

So I have today come across an odd situation - my client has SS 3.3.2 with user defined forms installed. I don't think the problem is userforms related however. What has happened is on one of the forms in a text area (frontend), someone has entered their comments, and part of the comment included the phrase:


They kept get errors trying to submit the form and after a lot of testing the content that they were trying to enter, I have come to the conclusion that as WEEK() is a mysql function this is causing the errors.

Has anyone else encountered something similar? What did you do to fix it?