Title: FormBuilder Value issue
Last modified: August 19, 2016

---

# FormBuilder Value issue

 *  [overhaulmedia](https://wordpress.org/support/users/overhaulmedia/)
 * (@overhaulmedia)
 * [16 years ago](https://wordpress.org/support/topic/formbuilder-value-issue/)
 * How can I modify this so the value is removed when the user clicks?
    I feel like
   it’s a very bad practice to have a value (hint) then make the user delete it 
   to put in their own. Usually we use a tiny bit of javascript to remove the value
   on click.

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

 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [16 years ago](https://wordpress.org/support/topic/formbuilder-value-issue/#post-1440714)
 * Hi overhaulmedia,
 * Check out the search bar in this [blog](http://www.lawsandlanguages.com) I run:
   is this the effect you’re trying to accomplish?
    If it is, this is how I did 
   it: `<input type="text" onblur="if (this.value == '') {this.value = 'Type your
   query here...';}" onfocus="if (this.value == 'Type your query here...') {this.
   value = '';}" value="<?php if ($_REQUEST['s']) { the_search_query(); } else {
   echo 'Type your query here...'; } ?>" name="s" id="s" />` You can customize the
   input type, default values (in my case, the default value of the Search field
   is “Type your query here…”), and name and id of the field. Hope this is helpful.
 *  [mikemcd22](https://wordpress.org/support/users/mikemcd22/)
 * (@mikemcd22)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/formbuilder-value-issue/#post-1440870)
 * Along these same lines, How can I have the value of radio buttons and drop down
   lists unselected until the user makes a selection?
 * [http://03202de.netsolhost.com/?page_id=5](http://03202de.netsolhost.com/?page_id=5)
 *  [TruthMedia](https://wordpress.org/support/users/truthmedia/)
 * (@truthmedia)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/formbuilder-value-issue/#post-1440871)
 * Hi overhaulmedia and mikemcd22,
 * At this point, FormBuilder doesn’t support removing default values on click. 
   When HTML5 becomes more standardized it should support fields for preview text
   and we hope to incorporate that there.
 * As for unselected dropdown boxes, simply leave a blank line as the first option
   in your range of options when creating the form.
 * James W.

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

The topic ‘FormBuilder Value issue’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [values](https://wordpress.org/support/topic-tag/values/)

 * 3 replies
 * 4 participants
 * Last reply from: [TruthMedia](https://wordpress.org/support/users/truthmedia/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/formbuilder-value-issue/#post-1440871)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
