You are viewing limited content. For full access, please sign in.

Question

Question

Hidden Address Border Still Showing

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

Answer

SELECTED ANSWER
replied on December 19, 2018

Was able to figure it out so for anyone else who might have same the same problem.  Paste the following into your CSS: 

div [id="Field11_DSG5"], div [id="Field11_DSG1"] {Display: none}

Just be sure to update the Field**

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.