Select options from file based on other selected

Hi! I’m trying to make the following

  1. I have a structure field
  2. Inside the structure a select with a query of page files.
  3. Another select where its options are dynamic and fetched from the file “metadata” selected in the first select box.

Is this possible?

Thanks in advance!

No, not out of the box, since the second field won’t know anything of what you selected in the first field.

Thanks. So something like that can be achieved via custom plugin? Can you say something about the complexity of this case? I tempted to try to create a plugin but I don‘t know if this case is too complex for me.


It doesn’t seem to be that easy or seemingly only in a hacking way, this is similar: Programmatically change the content of the file field