Title: forminator autofill with database
Last modified: July 1, 2022

---

# forminator autofill with database

 *  Resolved [lennings82](https://wordpress.org/support/users/lennings82/)
 * (@lennings82)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/forminator-autofill-with-database/)
 * hi. will try to explain my problem.
 * I use “ultimate member” plugin to get the registration of new users.
    then I 
   use forminator to have some forms that the currently logged user can fill in.
   and there I have some fields and some areas that I want to be auto-filled.
 * It’s a function in forminator that do this. but I can only get it to work with
   some of the fields. name, id and email.
    But I like to have the phone number,
   and also have the auto-fill option. but it doesn’t come up in the behavior auto-
   fill option.
 * can’t see the phone number in the portal_users, but I can see the phone number
   in the portal_usermeta in the database.
 * so is it a way I can get the phone number into this field that the user registered
   with, and also to have it unchangeable in that place? if they want to change 
   it they have to go into their profile.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/forminator-autofill-with-database/#post-15792117)
 * Hi [@lennings82](https://wordpress.org/support/users/lennings82/),
 * Trust you are doing good, and thank you for reaching out to us.
 * Forminator does not have a built-in function that could help with this.
 * Can you please confirm if you are looking forward to auto-fil the form the user-
   meta added by the “Ultimate Member” plugin?
 * Kind Regards,
    Nebu John
 *  Thread Starter [lennings82](https://wordpress.org/support/users/lennings82/)
 * (@lennings82)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/forminator-autofill-with-database/#post-15792852)
 * it would be something that i would like to have. that would be a nice feature
   to have.
 * can send a picture of the one I use.. I’m pretty new to this, so maybe I’m doing
   something wrong.
 * [https://www.dropbox.com/s/s6h7a3iwel8xa29/Untitled.png?dl=0](https://www.dropbox.com/s/s6h7a3iwel8xa29/Untitled.png?dl=0)
 * it exist a
    “Pre-populate You can pre-populate this field dynamically using the
   query parameter passed in your form URL. Enter the query parameter key to fetch
   its value from your form URL below. Query parameter (optional)”
 * is that a way how i can fill a field from usermeta data?
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/forminator-autofill-with-database/#post-15795194)
 * Hi [@lennings82](https://wordpress.org/support/users/lennings82/)
 * Thank you for response!
 * You are using the “Autofill” option correctly but it only supports some of the
   data – the “standard” WP profile only.
 * There’s an additional custom code that may help here. It’s been created mostly
   with ACF in mind but since it’s all about user-meta, I think it may help. You’ll
   find it here:
 * [https://gist.github.com/wpmudev-sls/7915e5647920809a32af9bcc4b1e506a](https://gist.github.com/wpmudev-sls/7915e5647920809a32af9bcc4b1e506a)
 * To apply it to your site simply:
 * – create an empty file with a .php extension
    – copy and paste code into it –
   save the file and uploaded it (using FTP or similar way) to the “/wp-content/
   mu-plugins” folder of the site – if there’s no “mu-plugins” folder right in “
   wp-content”, just create an empty one first.
 * It should let you map those additional user meta fields right from “Autofil” 
   option right in form “Behavior” settings.
 * Would you give it a try, please?
 * Best regards,
    Adam
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/forminator-autofill-with-database/#post-15925580)
 * Hello [@lennings82](https://wordpress.org/support/users/lennings82/) ,
 * We haven’t heard from you for a while now, so it looks like you don’t need our
   assistance anymore.
 * Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘forminator autofill with database’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/forminator-autofill-with-database/#post-15925580)
 * Status: resolved