I'm trying to see if there's an example of a form that isn’t in the admin area and is used to update user details.

Is it possible to create this type of form? Where can I find such an example?

  • probably if you have permission to edit other users you can access form of edit user profile etc. – vgoradiya Jun 15 '16 at 9:14

Look at the Drupal core user module, is generates the forms for account editing. Specifically, user_profile_form(), user_account_form(), & user_profile_form_submit() will give you an example of an user-accessible form that updates a user account.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.