hi everyone.

i am trying to make a code which will act as a checkbox, but will be hidden from view, only to be used by people who know its there.

it is part of a form and im a bit stuck, i was hoping to use a checkbox but theres no way to hide it i dont think? then i thought about using blank images that when are clicked it will store which one is clicked...but i think ill need javascript for that and im useless at it.

does anyone have any ideas on what i can do?

this is the full forms process...

user inputs into text box
other user can secretly click onscreen to store a value of 1
user clicks submit
on submit form checks if secret value of 1 is true

any help appreciated thanks

<input type='checkbox' style='background-color:background; color:background; border:0;" /> 'background'= the color of the underlying element background = invisible

view source renders this concept of hidden form fields 'not a good solution'

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.