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

Reserved words for fields


2 Posts   801 Views


4 April 2011 at 2:37pm Community Member, 6 Posts

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.


6 April 2011 at 8:17pm Forum Moderator, 5511 Posts

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..