asked on December 18, 2018
Good Afternoon Everyone,
I have a form that I am using the pre-built address field for. I am using JavaScript to hide the second address line and the country because they are not needed. When the form is in a read-only status or saved to the repository, the border for these two hidden fields are still showing, creating an odd looking double line. Does anyone know how to hide this as well?
$(document).ready (function () { $(".Country").parent().children().css('display', 'none'); }) $(document).ready (function () { $(".Address2").parent().children().css('display', 'none'); })
0
0