trying to modify selected records on a form…
Hi Jose,
You can’t get the specific selected records if you’ve multi-selected some records. But you can loop through record in a form or a saved search and do something with those. And you can get the currently selected record (singular).
To get all the records in a form:
var records = form.getRecords();
To get all the records in the currently selected Saved Search:
var records = search.getRecords();
To get the current record just reference record
.
But I suppose it could be useful to be able to get an array of the currently selected records instead of just one.