How to use reflect flagging within the form database