I am using the text_field "submitted_address", class:"text" variable and the pre-fill text is not showing up. Can anyone tell me how I could either edit this text or make the prefill text show up. Thanks very much
Official response from NationBuilder Support
Elizabeth, try adding this to the template and replace XXXX with your desired text.
<script>$(document).ready(function() {$("#signup_submitted_address").DefaultValue("XXXX");});</script>
Share this post
Showing 3 reactions
Sign in with
Film and Campaign Ltd.
Certified Architect
What I actually did was use the script suggested above but replace signup_submitted_address with event_page_name
Film and Campaign Ltd.
Certified Architect
If so, what code do I use?
I tried this but it doesn’t seem to work…
$(document).ready(function() {$(“”tweet-url hashtag" href=“https://twitter.com/#!/search?q=%23event_page_name” title=“#event_page_name”>#event_page_name“).DefaultValue(”suggested event name");});