What is a Formlink?

When a Entry is edited we what to have the possibiltity to not only edit the values of the entry, we also what to connect entries together.  

Whats is the Concept in the Background?

 

 

Example:

We edit a Project Entry and want to link persons to te project. So somehow we have do define which connection should be possible. 

Parameters:

  • Project
  • Form
  • Parent Entry
  • Child Entry
  • DataTable
  • Datatable LinkModal (Optional)
  • Title
  • Show Only unlinked entries
  • Link button
  • Min LInks
  • Max Links
  • Order

Title:

This title is show in the Modal as Title of the DataTable 

Form:

Child Entity:

Which Entity is used as a Child? For each link we get an entry in the table wp_wr_link.

DataTable:

Only DataTables which contains the Child Entity are visible. The DataTable is Displayed in Modal of the Form.

 

If you want to use a Different DataTable in the Link Modal (Eg. without subtables, show only specific informations, etc..) you can create one and select this datatable here.

The default case is to “create and link” an entry to a parrent. if it should be possible to do linking without create a new entriy, this option is for you

Show only unlinked entries

If this option is set, you can give the user the hint, that you expect a number of links. Like a Invoice has to have Invoice Positions.

Due to technical reasons (you cannot force users to link), this is only informal.

Max. Links

In some cases, you what to limit the number. Eg a Project should only have one manager. 

Sort Order:

This is the Order the FormLinks (DataTables) are displayed in the modal.

Info URL