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 NationBuilder Support
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
Sign in with
eg. {% text_field “first_name”, class:“form-control”, placeholder:“First Name” %}
Thank you.