Fields of a form

Hi everyone.

Is it possible to retrieve all field of a form in formula to display this list in a dialog list? It can’t be @DocFields because I want to display the fields of another form.

Or it can be done only by LS?

TIA,

Renan