I’ll give the step-by-step solution here so other newcomers could use it as a tip:
First, I put a with just one property: display:none for the id of my div, so:
#invisible
{
display:none
}
Then I use div to hide the content:
here you put Your things You want to be hidden
everything except the things should be marked as pass-thru HTML (text menu from the main bar).
Now I can access every field hidden that way with JS. If any filed will be hidden using “hide-when” properties, then their values won’t be sent to the browser from the server. So You won’t have access to them.
I know it’s an elementary case, but I hope it will help anyone with similar problem as I had.
I have a question about that. I know that I could hide the fields with
tags with style=“display:None” and mark the text as pass-thru HTML text. but should the fields be also marked as pass-thru HTML ? because if not, they are shown on the screen