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.

Customising the CMS /

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

Reserved words for fields

Go to End

2 Posts   1401 Views


Community Member, 6 Posts

4 April 2011 at 2:37pm

Is there a list of reserved words for field names?
Today I discovered I couldn't name a field Email and have the data saved when editing. I changed the field name to Emails and it now works using updateCMSFields.


Forum Moderator, 5523 Posts

6 April 2011 at 8:17pm

It depends on the object you have overriding. Have a look at the $db array of the parent classes. Member for instance will have fields already defined like FirstName, Surname, Email etc..