Preserved keywords for field names

Preserved keywords for field names

Postby digitalphotoworld » Thu Aug 17, 2017 2:23 pm

Any field name which is existing in the keyword list will be added an underscore to the prefix in order to prevent using the same variable name. For example, if you use a field called email, it is on this list and the name is transformed to _email.

Recently it took me hours to figure this out as I tried to access this field in the server events.

Please add something in the fieldsetup that marks fields if the are transformed from the system. Perhaps you can use another color in the Field Name or add an asterisk etc.
digitalphotoworld
 
Posts: 386
Joined: Wed Jan 09, 2013 12:26 am

Return to Feature Requests (PHPMaker)