Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David 11 posts 143 karma points
    Dec 03, 2018 @ 15:00
    David
    0

    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

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Dec 03, 2018 @ 15:18
    Dave Woestenborghs
    1

    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

  • David 11 posts 143 karma points
    Dec 03, 2018 @ 16:48
    David
    0

    I'll check that out, thanks!

  • David 11 posts 143 karma points
    Dec 07, 2018 @ 14:05
    David
    100

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies