
Currently the code for enabling the submit button as well as determining its visibility is partly done on the server side as well on the client side. This change changes the server side such that it also includes the logic which is currently in the web UI. This allows us to remove the logic from the web UI in a later patch. Change-Id: Ief2d4677208900143a67db7b06882e24d1bf2a5d