Use a javascript code to not display empty fields?
I've been trying to get my javascript code to work; basically I want it to do the following: There is a field for different profile names... and if a user doesn't enter a name in one of the fields there is no need to display that field, is there a simple way of doing this?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Hey Justin,
I imagine that you could add some logic to check for null and then hide an element if a config param value is null. Now the tough part would be that you'd then have to have your default values be null, so your preview would be a bit ugly until the user started configuring it.
Hope this helps!
Dave
Loading Profile...



