i’m making a site with ACF and i need to adding a new field that makes reference to custom HTML/PHP/JS code (this custom code is a ajax search field that extracted results from an external database). This field must be visible if another are too (so i need relations between).
There’s a whole documentation about creating new field types:
That should get you started 🙂
Best of luck!