PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage Enabling buttons on frontpage 2002

Reply

Enabling buttons on frontpage 2002

 
Thread Tools Rate Thread
Old 21-09-2006, 07:04 PM   #1
=?Utf-8?B?QWRhbSAzNTc=?=
Guest
 
Posts: n/a
Default Enabling buttons on frontpage 2002


Hi

I am trying to find a way to have a submit button on a form that is greyed
out when the page is first loaded, but then when a checkbox is ticked the
button becomes enabled, and the form can be submitted.

Thanks
  Reply With Quote
Old 21-09-2006, 07:32 PM   #2
MD Websunlimited
Guest
 
Posts: n/a
Default Re: Enabling buttons on frontpage 2002

Hi Adam,

Use JS and the enabled attribute.

<form>
<input type="checkbox" unclick="debugger;this.form.submit.disabled = false;" >
<input type="submit" name="submit" disabled="true" >
</form>


--
Mike
http://www.websunlimited.com
FrontPage Add-in
MVP FrontPage '97 - '02




"Adam 357" <Adam357@discussions.microsoft.com> wrote in message news:0B865E8B-2DD3-45BA-8FA5-E1B9591315BE@microsoft.com...
> Hi
>
> I am trying to find a way to have a submit button on a form that is greyed
> out when the page is first loaded, but then when a checkbox is ticked the
> button becomes enabled, and the form can be submitted.
>
> Thanks



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off