Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

elegant way to hide a form input span through xrm?

$
0
0

Hello - What's the most elegant way to hide a form span through XRM?

Each input on a form has a descriptive label.  In form customization you can click on this area and the entire area will be selected as a unit and you can make modifications.

However, what if I want to make changes to this area through XRM?  I want to hide the entire area that contains the input and descriptive label. However, when I use the F12 selector tool, only the individual elements appear to be selectable.  I don't see a way to select the area as a unit.

Am I not hovering with F12 selector tool correctly?  Or is there a simple out of the box way to do this with XRM? For example, something like?:

//inputSpan represents the span that contains both the input and its descriptive label
var inputSpan = crmForm.getInputSpan(crmForm.all.someid);
inputSpan.hide();


Viewing all articles
Browse latest Browse all 82002

Trending Articles



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