Umbraco Repeatable Text Strings Data Type - Only Allow Numbers
Hello,
I am using repeatable text strings to allow my editors to enter in data sets in the back office so I can generate a graph out of them (this is only used as a fall back if they don't provide a csv file).
I am wondering if I can restrict the repeatable text strings to only allow the user to input numbers?
Umbraco Repeatable Text Strings Data Type - Only Allow Numbers
Hello,
I am using repeatable text strings to allow my editors to enter in data sets in the back office so I can generate a graph out of them (this is only used as a fall back if they don't provide a csv file).
I am wondering if I can restrict the repeatable text strings to only allow the user to input numbers?
Thanks in advance,
David
Hi David,
Not out of the box.
But may you can use this package : https://our.umbraco.com/packages/backoffice-extensions/property-list/
Then you can create lists of any datatype you want. So you could use the number input datatype and create a property list editor from that.
Dave
I'll check that out, thanks!
What I ended up doing is creating a Nested Content data type that was made up of numeric input boxes.
https://our.umbraco.com/documentation/getting-started/backoffice/Property-Editors/Built-in-Property-Editors/Nested-Content
is working on a reply...