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

Question

Question

Create a Hidden field class

asked on February 22, 2016

Good morning,

Does anyone know if it is possible to create a hidden class for a field in forms and where that would go?  Right now, we are copying/pasting the code into various fields and changing the q#'s in each line.  Is it possible to just define that hidden code someplace and then just call it?  Here is what the field looks like now:

Then we are just changing the 20 to different numbers depending on the form and field.  We were looking at possibly putting the "Hidden" class here:

And then defining said class in the  proper space.  Where is that master file located or is it in a theme of some type?

 

Thanks,

Chris

1 0

Answer

SELECTED ANSWER
replied on February 22, 2016

You can create a CSS class to do this.

.dontshow {display: none;}

This would be added to the CSS and JavaScript tab and then just add "dontshow" to the CSS field for each field you want to hide.

2 0
replied on February 22, 2016

Ok thanks Blake.  The client was looking to have the code in one central spot.  Then just adding the class to the one field in Forms (instead of adding it both to the field and the css and javascript tab).

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.