Jeff, I think you want to use EDIT ITEM.
$objName:=OBJECT Get name(Object current) // will be the name of the listbox object even if called from a column/array $row:=listbox_get_rowcolumn ($objName;->$column;->$objPtr) // method gets the row and ptr to the column & column object If(Not( code to test the input is ok)) EDIT ITEM($objPtr->;$row) End if This works in the listbox object or the array within the listbox. On Tue, Mar 20, 2018 at 9:08 AM, Jeff Grann via 4D_Tech < 4d_tech@lists.4d.com> wrote: > What is the best practice for validating data entry in listbox fields > (cells)? > > If the user enters an invalid value, I’d like to keep them in the field, > but REJECT doesn’t seem to work in listbox cells. > > ---------- > Jeff Grann > SuccessWare, Inc. > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** -- Kirk Brooks San Francisco, CA ======================= *We go vote - they go home* ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************