Skip to main content
UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
  • Resources
  • Community
  • Pricing
Can someone explain to me how it works? Comment
    •  ·  LeonidS
    •  ·  2021-06-14T18:17:22+0000

    Hello Claudio Acosta !

    Just specify plz the one thing - why did you add the field to the `bx_persons_data` table via phpMyAdmin (looks so) ? Or you did it via Studio Forms App?

    • See older replies...
      •  ·  Claudio Acosta
      •  ·  In reply to
        LeonidS
      •  ·  2021-06-14T19:29:11+0000

      Thanks LeonidS, I understand now.
      Anyway the query is the same. That is, the UNA platform works correctly, I can correctly view the information selected by the person in the form. No problem with this.
      My question is how I have to do (running my own software) to translate that value saved in the bigint field to the values selected by a person, that is, how does UNA do it?
      Thanks.

      • J

        •  ·  Jerome Mingo
        •  ·  In reply to
          Claudio Acosta
        •  ·  2021-06-15T07:08:22+0000

        The values are stored in the database field as a binary number. In inc/classes/BxDolForm.php, you will find the passSet function that takes the array of values and creates the number that is stored. There is also the displaySet function that takes the stored database value and translates it into the original array of values. 

          •  ·  Claudio Acosta
          •  ·  In reply to

            J

            Jerome Mingo
          •  ·  2021-06-15T11:41:48+0000

          Thank you Jerome Mingo 
          It's what I needed to know.

        See more...
        • Features
        • Pricing
        • Forum
        • Blog
        • Market
        • About
        • Copyright
        • Contact
        • Terms
        • Privacy
        • 𝕏
        Search
        UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
      • Platform
        • Features
        • Core CMS
      • Resources
        • Documentation
        • Marketplace
        • Discussions
        • Support Groups
        • API Reference
        • UNA CMS on GitHub
        • Webinars
        • Blog
      • Community
        • Discussions
        • Groups
        • Webinars
      • Pricing
      • Are you sure?
        Please, enter a value here