Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
minor formatting adjustments
Source Link
mickmackusa
  • 4.8k
  • 4
  • 18
  • 48

I have created a custom filelistfile list form field. Field and the field is used in a repeatable subform. The

The purpose of this custom form field is to display a list of files in folder based on 'name' field in main form. The

The problem I've encountered is how: How to get the 'name' field from the custom form field to redirect to specific folder. The?

The form object ($this->form$this->form) is the subform object. How

How to access the main form / parentparent form fields to get the required 'name' field value?

I have created a custom filelist form field. Field is used in a repeatable subform. The purpose of this custom form field is to display list of files in folder based on 'name' field in main form. The problem I've encountered is how to get the 'name' field from the custom form field to redirect to specific folder. The form object ($this->form) is the subform object. How to access the main form / parent form fields to get the required 'name' field value?

I have created a custom file list form field and the field is used in a repeatable subform.

The purpose of this custom form field is to display a list of files in folder based on 'name' field in main form.

The problem I've encountered is: How to get the 'name' field from the custom form field to redirect to specific folder?

The form object ($this->form) is the subform object.

How to access the main/parent form fields to get the required 'name' field value?

Source Link

Custom form field in subform. How to access parent form fields?

I have created a custom filelist form field. Field is used in a repeatable subform. The purpose of this custom form field is to display list of files in folder based on 'name' field in main form. The problem I've encountered is how to get the 'name' field from the custom form field to redirect to specific folder. The form object ($this->form) is the subform object. How to access the main form / parent form fields to get the required 'name' field value?