check for empty fields
cache submissions on the client side