When typing a name for a new content type or a new view, its machine name is automatically generated as the user types. There is an "edit" link next to it, so that the machine name can be manually edited to be different from the human-readable name:
This "manual" mode for the machine name also kicks in when validation for a machine-name-enabled field fails (when the user leaves the field blank for example). The "Machine-readable name" field in these cases is being exposed, so that the user can free-type the machine name themselves:
When the "Machine-readable name" field is exposed, non-valid characters are allowed to be typed:
...only to throw validation errors when the form gets saved:
Describe the solution you'd like Have it so that as the user types in the machine name manually, the same javascript kicks in as when we are automatically creating the machine name for them. So:
- if the user types capital letters, they are converted to their respective lower-case ones.
- if the user types non-latin letter, they are converted to their respective phonetic replacement combos.
- if the user types symbols, they are either ignored, or replaced with an underscore.
Recent comments
I’m working on a group within the project comunidadthreads.com I launched using BackdropCMS, where I’ll be posting short, easy-to-follow tutorials for anyone interested in learning how to build...
Let’s Bring BackdropCMS to the Spanish-Speaking Community
I could create tutorials, with images and screenshots, that explain step by step how to install and use BackdropCMS, designed especially for non-technical people. The idea is to create clear...
Let’s Bring BackdropCMS to the Spanish-Speaking Community
We have had Spanish Language sessions at Backdrop LIVE in the past. If anyone would like to facilitate a session at Backdrop LIVE in Spanish OR about creating more Spanish resources, that would...
Let’s Bring BackdropCMS to the Spanish-Speaking Community