Hi there,
I have not so the survey in terms of data types and ask you for your help.
Value 1 = Integer value 0-100
Value 2 = 0 or 1 only
what types of data you would use in the backend?
Thanks for your help!
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi there,
I have not so the survey in terms of data types and ask you for your help.
Value 1 = Integer value 0-100
Value 2 = 0 or 1 only
what types of data you would use in the backend?
Thanks for your help!
For integers use the 'Int' data type - http://api.silverstripe.org/3.1/class-Int.html
For 0/1 you could represent it as a Boolean field - http://api.silverstripe.org/3.1/class-Boolean.html