Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Only show required fields on signup form


r-a-y
Keymaster

@r-a-y

You could use jQuery to select the “for” attribute so you can hide it.

Read up on jQuery selectors:

http://docs.jquery.com/Selectors/attributeEquals

Try this:

<script type="text/javascript">
$(document).ready(function(){
$("label[for='field_3']").css({'display' : 'none'});
});
</script>

You’ll need to have the jQuery library somewhere in your HTML source.

Skip to toolbar