cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory field check behaviour

0 Kudos

Hi Experts and Colleagues,

I have following situation, I have dialog box (ok, cancel) with three elements:

The input field 2 is mandatory and the whole dialog box is checked against mandatory.

Info text view changed on selecting drop down.

But if the input field 2 not yet filled then it become red but the info field is not changed.

From my colleagues said that the dropdown triggered a server roundtrip which cancelled due to mandatory input field 2.

The mandatory field should be red only when I press ok on the dialog box

What is the best way around this situation?

Appreciate your help here.

Best regards,
Steve

Accepted Solutions (0)

Answers (1)

Answers (1)

jens_boeckenhauer
Active Participant
0 Kudos

Hi Steve,

there are a couple of parameters you can change to get towards your desired behavior:

(1) You can deactivate the "check mandatory fields on view" function. (Unmark the "Check mandatory" flag in the Form configuration.)

(2) You can use an non-validating action for the ON_SELECT event of the drop down list box. (ACTION_TYPE=1 in the action definition.)

(3) Do the mandatory field check in the PROCESS_EVENT of the dialog box close event: Let it fail and return a message with field reference if the value is initial.

Regards, Jens