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

Question

Question

Form - Invisible element

asked on October 10, 2014

Is there a way to make a form element invisible?

0 0

Replies

replied on October 10, 2014

Thanks

1 0
replied on October 10, 2014 Show version history

you apply a CSS class to it then reference it in the CSS / Javascript page.

 

Say, I add the CSS Classname NoLooksies to a field i want hidden, I then need to add the following to the CSS:

.NoLooksies {
    display:none;
}

You can also just directly apply this CSS to the field, by using the field number. If the field is Field 4, then it would be like this:

#q4 {
   display:none;
}

The disadvantage of that is that it would need to be set up for each field you want hidden, but applying the same CSS class to multiple fields will make the first CSS suggestion apply to all the fields with that class

0 0
replied on October 10, 2014

How do you set the value of a text box and variable using javascript please?

0 0
replied on October 10, 2014

That is something different from this question. You will be able to find that answer in multiple of the answers to previous questions. 

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

Sign in to reply to this post.