Sample beforelist event php rad classic

i want to check fieldname value in page event beforelist but no data or record can be debug? any idea ?

Hi,
In before view or list page events, no data has been gotten, so you can’t access the data. You can only access data in the after view or list events.
Add and edit event you can access data before since the data is submitted, and you can access that same data after it has been added or updated.

In beforeList / beforeView, the data hasn’t yet been loaded from the database, so no record/row simply exists there—there’s nothing to debug with “fieldname value.”

If you need to check a field’s value:

in beforeList, you can usually only work with the query/filters (query params, where conditions, etc.), not with the record data.
in beforeView, similarly, the record hasn’t been fetched yet.

What you’re describing becomes available in:

afterList / afterView—the data has already been loaded there, so you can safely read the fields.
beforeAdd / beforeEdit—they have access to the incoming form data (request payload).
afterAdd / afterEdit—after saving.

If the goal is to conditionally filter or influence the list output based on a field value, then this should be done at the request level (query modification), not through a page event.