Extension of the built-in Number field with a default value of null.
To install Null Number, follow these steps:
- Download & unzip the file and place the
nullnumberdirectory into yourcraft/pluginsdirectory - -OR- do a
git clone https://github.com/steverowling/nullnumber.gitdirectly into yourcraft/pluginsfolder. You can then update it withgit pull - Install plugin in the Craft Control Panel under Settings > Plugins
- The plugin folder should be named
nullnumberfor Craft to see it. GitHub recently started appending-master(the branch name) to the name of the folder for zip file downloads.
Null Number works on Craft 2.4.x and higher.
Useful for situations where you want a number field, but zero has meaning in the system and you want to be able to have a null default value.
Use it in exactly the same like the built-in Number field. If you don't set a default value, it will be null.
- Initial release
Brought to you by Steve Rowling