Edit user's first and last name I have added a form to my front-end to edit the user's first and last name. Editing all the other fields is not a problem but when I try to edit the first or last name it doesn't work.

I think I might need to change name="fields[firstName]" to something else, but I don't know to what I should change it to.

&lt;form method="post" id="loginForm" accept-charset="UTF-8" enctype="multipart/form-data"&gt;
    {{ getCsrfInput() }}
    &lt;h1 class="login-text"&gt;{{'Profiel bewerken'|upper}}&lt;/h1&gt;
    &lt;input type="hidden" name="action" value="users/saveUser"&gt;
    &lt;input type="hidden" name="redirect" value="profile"&gt;
    &lt;input type="hidden" name="userId" value="{{ currentUser.id }}"&gt;  

    &lt;label for="voornaam"&gt;{{"voornaam"|title}}&lt;/label&gt;
    &lt;input type="text" id="voornaam" name="fields[firstName]"
    {% if currentUser.firstName %}value="{{ currentUser.firstName }}"{% endif %}&gt;

    &lt;label for="achternaam"&gt;{{"achternaam"|title}}&lt;/label&gt;
    &lt;input type="text" id="achternaam" name="fields[lastName]"
    {% if currentUser.lastName %}value="{{ currentUser.lastName }}"{% endif %}&gt;

    &lt;label for="woonplaats"&gt;{{"woonplaats"|title}}&lt;/label&gt;
    &lt;input type="text" id="woonplaats" name="fields[woonplaats]"
    {% if currentUser.woonplaats %}value="{{ currentUser.woonplaats }}"{% endif %}&gt;

    &lt;label for="postcode"&gt;{{"postcode"|title}}&lt;/label&gt;
    &lt;input type="text" id="postcode" name="fields[postcode]"
    {% if currentUser.postcode %}value="{{ currentUser.postcode }}"{% endif %}&gt;

    &lt;label for="adres"&gt;{{"adres"|title}}&lt;/label&gt;
    &lt;input type="text" id="adres" name="fields[adres]"
    {% if currentUser.adres %}value="{{ currentUser.adres }}"{% endif %}&gt;

    {# Check to see if the user has a photo  #}
    &lt;label&gt;Profielfoto&lt;/label&gt;&lt;br /&gt;
    {% if currentUser.photoUrl %}
        &lt;img src="{{ currentUser.photoUrl }}" alt="{{ currentUser.title }}"&gt;&lt;br /&gt;
        &lt;input type="file" name="userPhoto" value="Change Photo"&gt;
    {% else %}
        {# If no photo exists, give the option to upload a new one #}
        &lt;input type="file" name="userPhoto" value="Upload"&gt;
    {% endif %}

    {# &lt;input type="file" name="userPhoto" value="{{ (currentUser.photoUrl ? 'Change Photo' : 'Upload') }}"&gt; #}

    &lt;br /&gt;&lt;button type="submit"&gt;Opslaan&lt;/button&gt;

    &lt;div class="clear"&gt;&lt;/div&gt;
&lt;/form&gt;
A User's first and last name fields don't need the fields[] prefix as they aren't custom fields added to the user field group.

So using the following should work:

&lt;label for="voornaam"&gt;{{"voornaam"|title}}&lt;/label&gt;
&lt;input type="text" id="voornaam" name="firstName"
{% if currentUser.firstName %}value="{{ currentUser.firstName }}"{% endif %}&gt;

&lt;label for="achternaam"&gt;{{"achternaam"|title}}&lt;/label&gt;
&lt;input type="text" id="achternaam" name="lastName"
{% if currentUser.lastName %}value="{{ currentUser.lastName }}"{% endif %}&gt;