I have a customer who is using D365 on premise version 9.0.17.8 who want a field in a BPF to be required under certain circumstances.
So in javascript I make it required through FormContext.getControl("header_process_fanc_checklistfieldscompleted").getAttribute().setRequiredLevel("required"); and in the BPF itself it shows it as required:
This field is an OPTIONSET with only 1 option: YES. So it is null or YES. As you can see in the screenshot it is empty as it has the "click to enter" message.
If i now use the Next Stage button, it will just move to the next stage without verifying if there is a value inside the required field.
Anybody else who has/had this problem?