Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Never worked with short codes, and if you could point me in the right direction, you could help me edit this contact form plug in. (This is no formatting help from what I saw on their site) I have a text area like so

<p>Your Name (required)<br />
    [text* your-name] </p>

<p>Your Email (required)<br />
    [email* your-email] </p>

<p>Subject<br />
    [text your-subject] </p>

<p>Your Message<br />
    [textarea your-message] </p>

<p>[submit "Send"]</p>

and I'd like to have the text above these input boxes display as text within the input box. How can I do this? Thanks!

share|improve this question
add comment

1 Answer

If i got you right, you want to show the "label" text inside the inputs.

With ContactForm 7 which i think you are using you can create watermarks as simple as:

[text your-subject watermark "Subject"]

Or if you want you can show the text just as a value inside the input like this:

[text your-subject "Subject"]
share|improve this answer
hi thanks for this! Watermark doesn't do anything. But having the text as a value is not enough; the text must be removed when the user clicks into the field and then also comes back when the user clicks out of the field if the value is still empty. What do you think? –  user1274649 Sep 5 '12 at 18:11
watermark should work, try creating a new field from scracth and see what happens. Also look for javascript errors on your page. You can do that with chrome using developers tools console –  chifliiiii Sep 5 '12 at 22:12
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.