Title: [Plugin: WordPress Form Manager] Modify PlaceHolder or Input Values
Last modified: August 20, 2016

---

# [Plugin: WordPress Form Manager] Modify PlaceHolder or Input Values

 *  [meiskv](https://wordpress.org/support/users/meiskv/)
 * (@meiskv)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager/)
 * is there any other or exact way how to modify the placeholder or the value of
   a textbox. i mean i wan’t to use the <?php echo $current_user->user_email;?> 
   to put it into the value/placeholder of email so that logged in user dont need
   to put the email or name to the form. without making a new template.
 * [http://wordpress.org/extend/plugins/wordpress-form-manager/](http://wordpress.org/extend/plugins/wordpress-form-manager/)

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

 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager/#post-2465750)
 * There is no easy way right now, but thank you for asking. This should be easier
   to do.
 * The only way other than a custom template would be some javascript. I’m not sure
   how to get the user’s e-mail into JS though, without modifying the theme files.
 *  Thread Starter [meiskv](https://wordpress.org/support/users/meiskv/)
 * (@meiskv)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager/#post-2465770)
 * sir hoffcamp i’ve just found a solution to the problem i use a javascript. btw
   thanks for the reply.
 * i think the ‘text-4ef29112d8a62’ is not dynamically changing even if you refresh
   the page but i think it will change if you add a new or renew the textbox in 
   the dashboard. after creating the form the id that gave to the element will be
   permanent unless you re-create the element in the dashboard. am i right sir?
 *     ```
       window.onload = function() {
         var name = fm_get_form_item('text-4ef29112d8a62');
         var email = fm_get_form_item('text-4ef291141a19f');
         name.value = "<?php echo $current_user->user_firstname;?> <?php echo $current_user->user_lastname;?>";
         email.value = "<?php echo $current_user->user_email;?>";
       }
       ```
   

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

The topic ‘[Plugin: WordPress Form Manager] Modify PlaceHolder or Input Values’ 
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-form-manager.svg)
 * [Form Manager](https://wordpress.org/plugins/wordpress-form-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-form-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-form-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-form-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-form-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-form-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [meiskv](https://wordpress.org/support/users/meiskv/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager/#post-2465770)
 * Status: not resolved