Sunday, October 30, 2016

Form Saving Related Issues

Hi,
Please I need an advice on the best approach to take on the following issues.
I have create a form to save user details like first name,last name,email,mobile number etc...

1.Now I need to show error message (In Models i gave email and mobile no field as unique = True) when user enter a email id if email id exists in database show message like email id exists beside the email text field(also for  the mobile no) else proceed with form.
2.After i saving the form i need to show alert of success.

regards,
Pradam Abhilash

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGGVXBOz6kQs%2BHhR%2BsrTUApOGnR7t50HHQuvSN_zJz6VMQosFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment