Issue:PageForms Dependent Values
Dependent Values and Redirected Pages
Legacy data that uses the old values, that now are only used as redirect to the new page e.g. the page Germany is know redirected to DE is not correctly recognized by the values dependent on choice list.
For example see the Event EuroPLoP_2008. The Event has Germany as country and but by clicking edit with form the values from the fields region and city are removed. Even though, Germany is redirected to DE and Bavaria to DE/BY.
Note: existing values only
is not set so I would assume that the values should not be deleted.
- Is there an option/way to prevent the data deletion when the Template value is a redirected page?
Multiple Dependent Values
City and Country are more important than the region but values dependent on seems only to work if defined strict hierarchy (meaning only one dependency per field). What we need would be to define multiple dependencies from which not all would have to be full filled. More like a filter for the possible choices E.g. By assigning the property Has location city to the field we get all values of the property. By adding |values dependent on=Event[Country] we limit the selection list to the once that also match the country and by adding a second dependency such as |values dependent on=Event[Country],Event[State] we would further limit the selection list to the cities that also match the state. I am currently not aware of any way to define two more dependencies.
- Can multiple dependencies be defined?
External Dependencies
values dependent on queries the values that are already used by events but location data that is in the wiki but currently not assigned to a event are left out.
- Is there a way to define "external" (outside of the form and template) as possible candidates for the selection list?
- e.g by providing a query or property as selection option for the dependency
Semi Dependencies
If the value is not already in the system I can not add a value that is not in the selection list to the event in this case without removing the value every time I edit the page with edit with form.
E.g. Adding the state California to 3DUI 2020 with edit with form is possible but clicking edit with form again removes the value. (I assume in the search for possible values it excludes itself meaning a value has to be assigned to at least two times to be recognized as suitable value)
- Is there a way to define the values dependent on as semi-dependency so that the dependency acts more like a hint and not as restriction?