Reloginflow modification

I have added required:true to both Username and Password fields but I still can submitt the login form with these fields being empty. Is there something else I need to do to stop submitting it with empty fields?

Thanks

Hi Mark
You need to validate the form to check for empty, required fields.
Validation occurs automatically on dynamicForm.saveData(), but you can always call ‘validate()’ explicitly on a DynamicForm to force validation to run if you are using some different code path to submit your values to the server.