I’m working on a BetterForms app. One of my forms has a table displaying records, and I want to have it so that when a user clicks on a table row, it opens a modal dialog showing more details of the selected record. I’m using the showCardModal action to get the 2nd form to load, and it displays the correct data if I hardcode a record id value using the query option, but when I try to use _calc with this.params.row.id (to grab the ID of the selected row.), it just seems like it’s just passing the string “this.params.row.id”, rather then substituting the actual id. What am I doing wrong here?
We have an example that is almost exactly like the workflow you are describing. Check it out here and let us know if referencing that code gets you closer to your solution.
That was very helpful, thank you. Got it working.
1 Like