Project

General

Profile

Actions

Bug #5077

closed

'Required' FormElement mit Dynamic Update

Added by Elias Villiger over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Carsten Rose
Target version:
Start date:
09.12.2017
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
Vote:

Description

Wenn ein FormElement über Dynamic Update auf 'required' gesetzt wird, z.B.

modeSQL = {{SELECT IF('{{status:FRE:alnumx}}' = 'unchecked', 'required', 'hidden') }}

wird das FormElement zwar mit dynamic update korrekt angezeigt (inkl. rotem *), wird aber nicht als "required" behandelt, d.h. das Formular kann auch mit leerem Feld gespeichert werden.

Noch wichtiger ist das umgekehrte Verhalten: Wenn das Formular dann erneut geöffnet wird, so dass das FormElement beim Laden der Form required ist, muss das entsprechende FormElement ausgefüllt sein, auch wenn es über dynamic Update wieder auf "hidden" gesetzt wird.


Related issues

Related to QFQ - Bug #4724: mode=requiredOff: bei dynamicUpdate wird required troztdem abgefragt.ClosedCarsten Rose06.10.2017

Actions
Has duplicate QFQ - Bug #6124: Dynamic Update -- requiring and storing wrong fieldsClosed31.05.2018

Actions
Actions #1

Updated by Carsten Rose almost 6 years ago

  • Target version set to next9
Actions #3

Updated by Carsten Rose almost 6 years ago

  • Related to Bug #4724: mode=requiredOff: bei dynamicUpdate wird required troztdem abgefragt. added
Actions #4

Updated by Carsten Rose almost 6 years ago

  • Has duplicate Bug #6124: Dynamic Update -- requiring and storing wrong fields added
Actions #6

Updated by Carsten Rose almost 6 years ago

  • Status changed from New to Closed
  • Target version changed from next9 to 18.6.0
Actions

Also available in: Atom PDF