Skip to main content

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

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>

Share this post

Showing 6 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.