on 02-06-2015 1:31 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.