Forum Discussion

cassl4's avatar
cassl4
Visitor
9 years ago

Creating a page for date entry for Roku?

I'm working on a Roku app and we want the user's date of birth. Trying not to get too complex on the parsing end (so would prefer to not just have a text box where the user can enter whatever they want). I looked into using a roPinEntryDialog, but that unfortunately I think is only meant for entering payment information. I see that roDateTime is a thing, but that seems to only get the current date, and not have any types of inputs for it.

Any ideas or help?

8 Replies

  • destruk's avatar
    destruk
    Streaming Star
    Perhaps the easiest way would be to use three pin dialogs -- enter month, enter day, enter year.  By using pin dialogs you can be sure they will only enter numbers.
    ...or use one pin dialog with 6 digits instructing the user to enter their MMDDYY birthdate.
  • "destruk" wrote:
    Perhaps the easiest way would be to use three pin dialogs -- enter month, enter day, enter year.  By using pin dialogs you can be sure they will only enter numbers.
    ...or use one pin dialog with 6 digits instructing the user to enter their MMDDYY birthdate.

    I thought about that, but I think the PIN components are for purchasing only?
  • destruk's avatar
    destruk
    Streaming Star
    No, the PIN component screen is for entering any numeric value you like.  The Roku PIN can only be used for purchasing through roku billing.
  • "cassl4" wrote:
    "RokuNB" wrote:
    For posterity, see also https://stackoverflow.com/questions/444 ... y-for-roku

    That's my question there, too, they told me to post here hahaha. 🙂

    I did indeed 8-)
    I also "think LabelList is a good start to implement something akin to iOS's UIDatePicker. E.g. with remote Up-Down user selects month, then press Right to move to the day column, then Right onto the year list."
  • "RokuNB" wrote:
    "cassl4" wrote:
    "RokuNB" wrote:
    For posterity, see also https://stackoverflow.com/questions/444 ... y-for-roku

    That's my question there, too, they told me to post here hahaha. 🙂

    I did indeed 8-)
    I also "think LabelList is a good start to implement something akin to iOS's UIDatePicker. E.g. with remote Up-Down user selects month, then press Right to move to the day column, then Right onto the year list."

    Wouldn't that year list be really long, though?  How would Roku handle that?
  • "cassl4" wrote:
    Wouldn't that year list be really long, though?  How would Roku handle that?

    Handle it with gusto, i would hope? :mrgreen:
    How long would such list be, 100-200? And one can use <</>> for fast scroll/page, right?