silent input in a FORM

I

Izidor

Is exist any way to mute an input in a FORM in order to avoid its content to "pollute" the FORM send ?
The main motivation is about a "Agree" button that agree a text field. The text field itself doesn't need to
be send, only the check box "Agree" is important.

Any idea ?

Izidor.
 
D

David Dorward

Izidor said:
Is exist any way to mute an input in a FORM in order to avoid its content
to "pollute" the FORM send ? The main motivation is about a "Agree" button
that agree a text field. The text field itself doesn't need to be send,
only the check box "Agree" is important.

Any idea ?

Don't use an input for something other then input!

<div style="height: 25em; overflow: auto;">
<p>blah</p><p>blah</p><p>blah</p><p>blah</p><p>blah</p>
</div>

is probably alright.

Better would be avoiding the user scrolling anything other then the main
window.
 
H

Hywel Jenkins

David said:
Izidor wrote:




Don't use an input for something other then input!

<div style="height: 25em; overflow: auto;">
<p>blah</p><p>blah</p><p>blah</p><p>blah</p><p>blah</p>
</div>

is probably alright.

Better would be avoiding the user scrolling anything other then the main
window.

Did you answer the same question that I read ;)

To the OP, modify your form handler to ignore the "Agree" field.
 
D

David Dorward

Hywel said:
Did you answer the same question that I read ;)

My assumption was that the OP was using a <textarea> to generate a scrolling
area containing the terms and conditions the user was agreeing to.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,372
Latest member
LucretiaFo

Latest Threads

Top