Actions
Feature #8962
openallow for form fields with identical names
Start date:
29.08.2019
Due date:
% Done:
0%
Estimated time:
Discuss:
Prio Planung:
No
Vote:
Description
We have a form with three Action-Elements all pointing to the same column. Each of them calculates the value based on a different dynamic-update form-field (restricted via requiredList).
This works perfectly, but I need to adjust the name directly in the database...
Could this check be removed? (At least for action elements, but I can imagine this to be useful even with native dynamic-update elements.)
Updated by Carsten Rose over 4 years ago
- Priority changed from Normal to High
- Target version set to 146
Das sollte moeglich sein.
Moeglichkeit um das flexibel zu konfigurieren:
- Neue Konfigurationsoption (Store System): feSameName=allow|forbid|action
- allow: FE Elemente mit identischem Namen ist ok.
- forbid: FE Elemente mit identischem Namen sind nicht moeglich (Default).
- action: FE Elemente mit identischem Namen sind fuer Action Elemente moeglich.
- Der Check in Form.name='FormElement', FE.label='Check Name Conflict' wird wie folgt angepasst:
sqlValidate={{!SELECT fe.id FROM FormElement AS fe WHERE "{{class:F:alnumx}}"=fe.class AND fe.formId={{formId:RF}} AND fe.name!="" AND fe.name="{{name:F:alnumx}}" AND fe.id!={{id:R0}} AND ('forbid'='{{feSameName:VY}}' OR ('action'='{{feSameName:VY}}' AND fe.class IN 'native,container') ) }}
- Mit #8963 (Variablen koennen einfach im V-Store gesetzt werden) kann das dann zusaetzlich auf Form.parameter und FormElement.parameter Ebene gesetzt weden.
Updated by Carsten Rose over 4 years ago
- Status changed from New to Some day maybe
Updated by Carsten Rose over 4 years ago
- Status changed from Some day maybe to New
Updated by Carsten Rose about 4 years ago
- Target version changed from 55 to next7
Updated by Carsten Rose almost 3 years ago
- Target version changed from next7 to next4
Updated by Carsten Rose over 1 year ago
- Target version changed from next4 to Check if 'high' is still necessary
Actions