Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Check if checkbox is checked

$
0
0

John K wrote:

Thanks, but a calculated attribute is not an attribute calculated based on the value of other attributes? If I create the attribute "IsSelected" is not based on any attribute of the movie entity. 

But so, if for example I set the formula of that calculated attribute IsSelected to False, this is at the database level right? So even if the checkbox variable is set to be the ListRecord1.List.Current.IsSelected the checkboxes selection is at the client side so Im not udnerstanding how that calculated attribute IsSelected  works in this scenario to associate the checkboxes that are checked with the corresponding movie genres to filter the results. Can you explain better? Thanks!

For me, the best solution is to do this:

you need to have:

  1.  A local variable SelectedGenreIds 
  2. GenreList Variable of type GenreStructure, where GenreStructure have 3 attributes ( IsSelected (boolean) , GenreId (Genre Identifier) , GenreLabel (text))
  3. A Preparation
  4. An UpdateSelectedIds action
  5. Show action


  6. Thanks and Best Regards, Nuno Pereira



Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>