Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

How to ensure blank fields don't print?

$
0
0

I am making several fillable forms, and not all of the fields will always need to be filled in. I have default, "instructional" text in each field entering in the Custom Format Script section the following text: if(!event.value)event.value="DESIRED TEXT"

 

Once someone has clicked into the field, that text disappears.

 

Can I make it so that the default text will not print if nothing is entered?

 

Thanks.


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>