Scripting in aggregate custom forms

Hello team,

i will like to script into a custom aggregate form, so that i can inform users that they leave some dataelements empty (without values) before completing the form.

Please Anyone with a custom form like this one , kindly share.

Thanks and regards,