Hide Submit button

Results 1 to 2 of 2

Thread: Hide Submit button

  1. #1
    HUI Guest

    Default Hide Submit button

    I want to hide the submit button until the a checkbox or radio field has been selected.<BR><BR>Please i have been looking for a while.

  2. #2
    Arky Guest

    Default RE: Hide Submit button

    I dont have time to write you any code but Ill send you on the right path.<BR><BR>What you want to do is make the submit button code have a style="visibility:hidden"<BR>and the checkbox code have code as such, onClick="viewSubmit(form)" and <BR><BR>function viewSubmit(form)<BR>{<BR>document.form.somesubmitb utton.style.visibility = &#039show&#039;<BR><BR>}<BR><BR>that function works for ie only youll have to check around and the syntax prolly doesnt work but the general idea should, have fun i gotta run

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts