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 Lilia Villa
completed
Elizabeth, try adding this to the template and replace XXXX with your desired text.
<script>$(document).ready(function() {$("#signup_submitted_address").DefaultValue("XXXX");});</script>
How would you tag this suggestion?
Do you like this suggestion?
Oops, that code created some havoc in the previous comment, it is not at all what I had entered, I have no idea where the Twitter stuff came from.
What I actually did was use the script suggested above but replace signup_submitted_address with event_page_name
What I actually did was use the script suggested above but replace signup_submitted_address with event_page_name
Can I use this to pre-set a suggested event name in users_event_pages_new.html ?
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");});
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");});
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