How to prevent releationship creation on Fieldset when field _inside_ the Fieldset is empty
I've found an example from "How do I make a relationship optional?" posted by @TheCrazyBob which uses
At the moment
->saveRelationshipsUsing($record,$state) however in this case it's making the condition on some other field on the main form whereas I want to only create this relationship if a field inside the FieldSet has been filled.At the moment
$record only contains the parent record's fields. Is there a way I can do this based on the Form input instead please?