I've got a large multi-dialog with various master-detail levels in it. Obviously I need to prevent someone entering a detail level if it has not yet got a parent record, so I have a BEFORE INPUT which checks if a parent exists, and if not, does a NEXT FIELD to the master record.
The problem is I'm being caught out by the form validation 'This field requires an entered value'. This is the documented behaviour (
https://4js.com/online_documentation/fjs-fgl-2.21.01-manual-html/User/MultipleDialogs.html#form-level-validation), but somehow I need to get round this so I can make sure things get created in the correct order.
Is there any way around this?
BEFORE INPUT
IF ma_contracts.getLength() = 0 THEN
NEXT FIELD scr_con.contract_id #in 'parent' dialog
END IF