I'm facing a problem disabling and enabling form using checkbox?
here's my code "i'm using php" :
<input type="checkbox" name="Participation" value="Paper"/>Paper</br>
<form action="./upload.php" method="post" enctype="multipart/form-data" >
<label for="file">Select a file:</label> <input type="file" name="userfile" id="file">
<input type="Submit" value="Upload">
</form>
I've used lots of methods including javascript !
but no use
i want to enable the form when i check the box and disable it when i remove the check .
the default status of the form is "disabled"
any ideas ??