how to refer to a field on a tabpanel form

I need to retrieve a value from a field on a tabpanel form called panels.

The main form that the tabpanel is on is called people.
The name of the tabpanel is tabs_people
The name of the tab is tabPanels

I have tried

forms.people.elements.tabs_people.panels.id_projects

and

forms.people.elements.tabs_people.tabPanels.id_projects

but neither work.

I don’t really understand what you are doing but I think I understand what you want to do.

You want to retrieve a value from a field on a certain form (that is placed in a tabpanel on another form).
And, you want to retrieve that value from within another form. Right?

If so you know the dataprovider of that field. Right?

If so, you can do ```
var value=forms.formname.dataprovidername


If you want to get a value from the text property of an element (it it has one), you have to give that element a name! After you did that you can do:

var value=forms.formname.elements.labelname.text


Hope this is what you were looking for.