Commit 3736c03c authored by r.manan@eksad.com's avatar r.manan@eksad.com

widget form verifikasi

parent aaea8849
......@@ -54,7 +54,7 @@ class _FormVerifikasiState extends State<FormVerifikasi> {
if (value == null || value.trim().isEmpty) {
return 'Please enter your email address';
}
// Check if the entered email has the right format
// Check klo email sudah sesuai format
if (!RegExp(r'\S+@\S+\.\S+').hasMatch(value)) {
return 'Please enter a valid email address';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment