• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Help choosing more than one item from an array

Scheduled Pinned Locked Moved Troubleshooting
18 Posts 4 Posters 5.6k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @justjim1220
    last edited by Sep 21, 2018, 10:21 PM

    @justjim1220 make sure to add an entry to the lifeFormArray that matches the string you define for ‘none’ (no user entry supplied)

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    J 2 Replies Last reply Sep 21, 2018, 10:23 PM Reply Quote 1
    • J Offline
      justjim1220 Module Developer @sdetweil
      last edited by Sep 21, 2018, 10:23 PM

      @sdetweil

      So, would the entry be like this: “Cats”, “Bats”, “Bears”,

      or like This: “Cats,Bats,Bears”,

      ?

      "Life's Too Short To Dance With Ugly People"
      Jim Hallock - 1995

      S 1 Reply Last reply Sep 22, 2018, 12:13 AM Reply Quote 0
      • J Offline
        justjim1220 Module Developer @sdetweil
        last edited by Sep 21, 2018, 10:40 PM

        @sdetweil

        Well, at the moment it is throwing the following error:

        0_1537569574704_Screenshot (63).png

        I’ll look at it some more here in a little bit…

        Thanks for your input!

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        S 1 Reply Last reply Sep 22, 2018, 12:12 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @strawberry 3.141
          last edited by Sep 21, 2018, 11:18 PM

          @strawberry-3-141
          @sdetweil

          I am extremely grateful to both of you for your assistance and guidance. I thank you both. :thumbsup:

          @justjim1220

          Jim, as it seems you’ve taken over this topic, I will leave it to you.

          Create a working config
          How to add modules

          J 1 Reply Last reply Sep 21, 2018, 11:19 PM Reply Quote 0
          • J Offline
            justjim1220 Module Developer @Mykle1
            last edited by Sep 21, 2018, 11:19 PM

            @mykle1

            I don’t know about taking it over, LOL.
            Just trying to help!

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @strawberry 3.141
              last edited by Sep 21, 2018, 11:21 PM

              @strawberry-3-141 said in Help choosing more than one item from an array:

              what you describe above is actually not an array, it’s an object (hash). Arrays are always defined with [] not {}.

              Object. Array. What’s the difference? (That’s a joke. Laugh) :-D

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @justjim1220
                last edited by Sep 22, 2018, 12:12 AM

                @justjim1220 that error looks like from the constructed url failing

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @justjim1220
                  last edited by Sep 22, 2018, 12:13 AM

                  @justjim1220 the second. Don’t depend on users to do multiple entries

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  2 / 2
                  • First post
                    11/18
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy