hi ,
i have this form populated from the server (using the db results wizard fro
FP) and if it´s possible to disable the the submit button when the the value
of a field in the form is equal a ex = "reservada". I need help to implement
this. I´have not good programming skills


thanks

Re: disable submit by MD

MD
Mon Feb 13 14:11:09 CST 2006

<input type="submit" onclick="if (this.form.thatfield.value == 'reservada') { return false } else { return true }" value="Submit" >

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


"Licass" <l.r.m.d@sapo.pt> wrote in message news:uq8efdBMGHA.1312@TK2MSFTNGP09.phx.gbl...
> hi ,
> i have this form populated from the server (using the db results wizard fro
> FP) and if it´s possible to disable the the submit button when the the value
> of a field in the form is equal a ex = "reservada". I need help to implement
> this. I´have not good programming skills
>
>
> thanks
>
>



Re: disable submit by Licass

Licass
Tue Feb 14 06:53:39 CST 2006

sorry maybe this is on page load??
"MD Websunlimited" <none@none.com> escreveu na mensagem
news:%23Ce1jmNMGHA.3196@TK2MSFTNGP09.phx.gbl...
> <input type="submit" onclick="if (this.form.thatfield.value ==
'reservada') { return false } else { return true }" value="Submit" >
>
> --
> Mike -- FrontPage MVP '97 - '02
> http://www.websunlimited.com
> FrontPage Add-in
>
>
> "Licass" <l.r.m.d@sapo.pt> wrote in message
news:uq8efdBMGHA.1312@TK2MSFTNGP09.phx.gbl...
> > hi ,
> > i have this form populated from the server (using the db results wizard
fro
> > FP) and if it´s possible to disable the the submit button when the the
value
> > of a field in the form is equal a ex = "reservada". I need help to
implement
> > this. I´have not good programming skills
> >
> >
> > thanks
> >
> >
>
>



Re: disable submit by MD

MD
Tue Feb 14 13:20:08 CST 2006

No, you're adding a onclick event to the submit button of the web form.

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


"Licass" <l.r.m.d@sapo.pt> wrote in message news:OBv0%23UWMGHA.316@TK2MSFTNGP10.phx.gbl...
> sorry maybe this is on page load??
> "MD Websunlimited" <none@none.com> escreveu na mensagem
> news:%23Ce1jmNMGHA.3196@TK2MSFTNGP09.phx.gbl...
>> <input type="submit" onclick="if (this.form.thatfield.value ==
> 'reservada') { return false } else { return true }" value="Submit" >
>>
>> --
>> Mike -- FrontPage MVP '97 - '02
>> http://www.websunlimited.com
>> FrontPage Add-in
>>
>>
>> "Licass" <l.r.m.d@sapo.pt> wrote in message
> news:uq8efdBMGHA.1312@TK2MSFTNGP09.phx.gbl...
>> > hi ,
>> > i have this form populated from the server (using the db results wizard
> fro
>> > FP) and if it´s possible to disable the the submit button when the the
> value
>> > of a field in the form is equal a ex = "reservada". I need help to
> implement
>> > this. I´have not good programming skills
>> >
>> >
>> > thanks
>> >
>> >
>>
>>
>
>