admin 2/18/2024 | |
It is not supposed to have access to list page fields. Validation plugins work on Add/Edit pages and not aware of List page data. |
K
|
kelgate author 2/18/2024 |
Thanks Admin, I used the wrong term when stating it was a list page. What I am really performing is an inline edit, both in a "standard", click the edit symbol page as well as a spreadsheet version. I guess I called it a list page because it displays a "list" of records rather than being a single record edit page. Would my approach still work in the inline/spreadsheet variants? |
admin 2/19/2024 | |
I understand what you saying. Editing always happening in the context of the Edit page ( or Add page if you perform Inline Add ). In either case, Validation Plugins are not expected to have access to other fields values. What you can use, for instance, are Field Events. You can trigger a field event when the focus leaves any field ( blur event ) and check other field values there. https://xlinesoft.com/phprunner/docs/field_events.htm |
K
|
kelgate author 2/20/2024 |
Thanks. I'll have to use the Field Event option then. Not as neat as Validation Plugins and more duplicate code, but it will accomplish what I need. Thanks again for your help. |