I'm working on a custom fieldtype that requires some validation via AJAX, which means I need an endpoint to direct my $.get()
requests to. I know that accessories support process_x methods but fieldtypes don't appear to offer anything similar.
As far as I can see my options are to create a module (which otherwise I have no need for) or an extension (ditto, really). I noticed that the VZ URL fieldtype uses the sessions_start hook for this but that's not ideal as it's adding a little overhead to every single request, even frontend ones.
Is there a better, simpler option that I'm missing?