Hi,
I have this code which does not highlight which required fields need entering when you try to submit the form. I thought it highlights automatically but it is just showing my error message. Why might this be?:
If(
NewForm.Valid,
// The form is valid, submit it
SubmitForm(NewForm);
Notify("The program was successfully added! You can find your program by navigating to the home screen and selecting the view/update program", NotificationType.Success, 0);
ResetForm(NewForm); // This line will clear the form
Navigate(Home), // Replace "HomeScreen" with the name of your Home screen
// The form is not valid, show an error message
Notify("Please fill in all required fields.", NotificationType.Error)
)
Thanks,
Jamie