async void DataCheck() { var usertype = StringOperations.BasicValidation(UserName); if (usertype != null) { await MyApp.MainPage.DisplayAlert("Username field should be empty or less than 3 chars", usertype, "ok"); return; } //Checking Email input if (!StringOperations.ValidateEmailInput(EmailId)) { await MyApp.MainPage.DisplayAlert("Error!", "Please enter valid email", "ok"); return; } //checking the password var result = StringOperations.BasicValidation(Password); if (result != null) { await MyApp.MainPage.DisplayAlert("Error!", result, "ok"); return; } if (!StringOperations.ValidatePasswordInput(Password)) { await MyApp.MainPage.DisplayAlert("Error!", "Password policy mismatch", "ok"); return; } if (Password != PasswordVerif) { await MyApp.MainPage.DisplayAlert("Error!", "Password verify mismatch", "ok"); return; } ContinueSignUp(); }
async void CheckData() { //Checking Email input if (!StringOperations.ValidateEmailInput(Username)) { await MainApp.MainPage.DisplayAlert("Error!", "Please enter valid email", "ok"); return; } //checking the password var result = StringOperations.BasicValidation(Password); if (result != null) { await MainApp.MainPage.DisplayAlert("Error!", result, "ok"); return; } ContinueSignIn(Username, Password); }
async void DataCheck() { //Checking Email input if (!StringOperations.ValidateEmailInput(UserName)) { await MainApp.MainPage.DisplayAlert("Error!", "Please enter valid email", "ok"); return; } //checking the password var result = StringOperations.BasicValidation(Password); if (result != null) { await MainApp.MainPage.DisplayAlert("Error!", result, "ok"); return; } if (!StringOperations.ValidatePasswordInput(Password)) { await MainApp.MainPage.DisplayAlert("Error!", "Password policy mismatch", "ok"); return; } if (Password != PasswordVerif) { await MainApp.MainPage.DisplayAlert("Error!", "Password verify mismatch", "ok"); return; } ContinueSignUp(); }