Wait a minute - I thought you were testing a value from a
database? But it
appears that you are wanting that field to be disabled when
its value is
"R"?
How is the field being written to the page?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"lands1ide" <webforumsuser@macromedia.com> wrote in
message
news:efej27$pip$1@forums.macromedia.com...
> Thanks for your reply. I am getting a different error
now this is the
> error I
> get now. I have attached my code at the bottom.
> Microsoft JScript compilation error '800a03ec'
>
> Expected ';'
>
> /systems/lvcc/January/January.asp, line 205
>
> if(value='d') or if(value='a') then
response.write('disabled="disabled"')
> -----------------^
>
>
> <input name="1st" type="checkbox" value="R" <%
if(value='r') or
> if(value='d') or if(value='a') then
response.write('disabled="disabled")%>
> />
>