Hi,
I designed a custom form for the profile update. Everything is working great when the user updates their profile information (name, email or password). However, I have two problems:
I designed a custom form for the profile update. Everything is working great when the user updates their profile information (name, email or password). However, I have two problems:
- When user enters a new name in the form and submits the form, the name is updated in the database. However, if user returns to the profile update form, the field name still showing the old name. This stays the same even if I go to other pages and then come back. The only way it changes to the new name is for the user to log out then log back in. I already changed the form option on "Keep alive" to NO. but the problem still exists.
- With this custom form, users can enter emails that are already assigned to another user. How can I prevent this from happening? It needs to check the existing emails and give error message if email already exists. But I'm not sure how to do that.