Loading

Is it possible to use placeholders on input fields?

I'm working off of a design for foodday.nationbuilder.com that calls for placeholdersin the email signup text fields. So far, I haven't been able to figure out a syntax that doesn't just break the form. Anybody know how to do this?

 

thanks,

pq

Official response from Lilia Villa completed

You should be able to do this by changing the default value of the input by adding this to the template:

 

<script> $(document).ready(function() { $("#nameofinputfield").DefaultValue("placeholdertext");

}); </script>

How would you tag this suggestion?
Do you like this suggestion?

Showing 3 reactions


Lilia Villa responded with completed 2012-06-22 15:46:09 -0700
Lilia Villa responded with completed 2012-06-22 15:40:39 -0700