store value to ri!available

I'd like to store the value  ri!available using this code

a!integerField(
label: "Available Racks",
labelPosition: "JUSTIFIED",
value: if(isnull(ri!bicycleInfo.stationId),
"",rule!PEDS_QueryStationStatusInfoByStationId(id: ri!bicycleInfo.stationId).availableRacks
),
saveInto: ri!available,
refreshAfter: "UNFOCUS",
readOnly: true,
validations: {}
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data