<p>You can do so by using the <code>fields[customFieldHandle]</code> syntax.</p>

<p>For example, here's how you'd populate <code>location</code> and <code>bio</code> custom fields.</p>

<pre><code>&lt;label for="location"&gt;Location&lt;/label&gt;
&lt;input type="text" id="location" name="fields[location]" value="{{ currentUser.location }}"&gt;

&lt;label for="bio"&gt;Bio&lt;/label&gt;
&lt;textarea id="bio" name="fields[bio]"&gt;{{ currentUser.bio }}&lt;/textarea&gt;
</code></pre>

CC BY-SA 3.0
2015-03-23T19:09:36.270Z
2015-03-23T19:09:36.270Z
Brad Bell
<p>how can i fill custom fields from the front-end form ?</p>

<p><a href="https://craftcms.com/docs/templating/user-registration-form" rel="nofollow noreferrer">https://craftcms.com/docs/templating/user-registration-form</a></p>

<users><custom-field>
How to fill the custom fields of users from the front-end form?
# How to fill the custom fields of users from the front-end form?

(Asked by: username_0 on 2015-03-23)

how can i fill custom fields from the front-end form ?

<https://craftcms.com/docs/templating/user-registration-form>

**Tags:** users, custom-field


---

## 1 answers

### Answer by username_1 on 2015-03-23. Score: 2 | Accepted answer

You can do so by using the fields[customFieldHandle] syntax.
For example, here's how you'd populate location and bio custom fields.
Location


Bio
{{ currentUser.bio }}


---

