473,654 Members | 3,028 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Still not resolved. Need expert help

I have a asp form where among others there are few text boxes and one check
box. The checkbox is
to indicate whether the entry is final. The checkbox is attahced to a field
in table of type yes/no.
After saving the documents,the form is refreshed. At this point, if the
checkbox has been saved with checked,
it shows unchecked, if it has been saved unchecked it shows unchecked.

Here, if the checkbox shows checked, I want to disable (or lock) all the
text boxes and the checkbox itself
which will prevent further entry.

Can this be done with asp? Any suggestion/help is highly appeciated.
Previous postings did not help
to get this resolved. Regards.
Jul 22 '05 #1
11 1548
You will have to get the value of the checkbox when the page loads. I would
use a simple string value to hold a " disabled " or " " text string. Then in
ALL of your controls do a <input..... <%= YourValue %> ...>
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:24******** *************** ***********@mic rosoft.com...
I have a asp form where among others there are few text boxes and one check
box. The checkbox is
to indicate whether the entry is final. The checkbox is attahced to a
field
in table of type yes/no.
After saving the documents,the form is refreshed. At this point, if the
checkbox has been saved with checked,
it shows unchecked, if it has been saved unchecked it shows unchecked.

Here, if the checkbox shows checked, I want to disable (or lock) all the
text boxes and the checkbox itself
which will prevent further entry.

Can this be done with asp? Any suggestion/help is highly appeciated.
Previous postings did not help
to get this resolved. Regards.

Jul 22 '05 #2
Thanks for your insight Curt, I appreciate it. Here is the code of the
checkbox:
<i><input type="checkbox" name="chk_Compl ete" value="TRUE" <%Response.Writ e
l_IsChecked%><% if cbool(l_IsCheck ed) then Response.Write " checked" Else
Response.Write " unchecked"%>>

while one of the textbox in the asp page is coded as:
<input type="text" name="txt_Curre ntOutlay" size="13"
value="<%Respon se.Write FormatCurrency( l_cu_CurrentOut lay,2)%>"
style="font-family: Times New Roman; font-size: 12pt"></font></td>
Now, are you suggesting to use the value of l_IsChecked to be utilized in
the input tag of the text boxes? Need a little clarification here. Regards

"Curt_C [MVP]" wrote:
You will have to get the value of the checkbox when the page loads. I would
use a simple string value to hold a " disabled " or " " text string. Then in
ALL of your controls do a <input..... <%= YourValue %> ...>
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:24******** *************** ***********@mic rosoft.com...
I have a asp form where among others there are few text boxes and one check
box. The checkbox is
to indicate whether the entry is final. The checkbox is attahced to a
field
in table of type yes/no.
After saving the documents,the form is refreshed. At this point, if the
checkbox has been saved with checked,
it shows unchecked, if it has been saved unchecked it shows unchecked.

Here, if the checkbox shows checked, I want to disable (or lock) all the
text boxes and the checkbox itself
which will prevent further entry.

Can this be done with asp? Any suggestion/help is highly appeciated.
Previous postings did not help
to get this resolved. Regards.


Jul 22 '05 #3
correct...
<%
if cbool(l_IsCheck ed)
isDisabled = " disabled "
else
isDisabled = " "

<input type="text" name="txt_Curre ntOutlay" <%= isDisabled %> ......
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:06******** *************** ***********@mic rosoft.com...
Thanks for your insight Curt, I appreciate it. Here is the code of the
checkbox:
<i><input type="checkbox" name="chk_Compl ete" value="TRUE"
<%Response.Writ e
l_IsChecked%><% if cbool(l_IsCheck ed) then Response.Write " checked" Else
Response.Write " unchecked"%>>

while one of the textbox in the asp page is coded as:
<input type="text" name="txt_Curre ntOutlay" size="13"
value="<%Respon se.Write FormatCurrency( l_cu_CurrentOut lay,2)%>"
style="font-family: Times New Roman; font-size: 12pt"></font></td>
Now, are you suggesting to use the value of l_IsChecked to be utilized in
the input tag of the text boxes? Need a little clarification here. Regards

"Curt_C [MVP]" wrote:
You will have to get the value of the checkbox when the page loads. I
would
use a simple string value to hold a " disabled " or " " text string. Then
in
ALL of your controls do a <input..... <%= YourValue %> ...>
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:24******** *************** ***********@mic rosoft.com...
>I have a asp form where among others there are few text boxes and one
>check
> box. The checkbox is
> to indicate whether the entry is final. The checkbox is attahced to a
> field
> in table of type yes/no.
> After saving the documents,the form is refreshed. At this point, if the
> checkbox has been saved with checked,
> it shows unchecked, if it has been saved unchecked it shows unchecked.
>
> Here, if the checkbox shows checked, I want to disable (or lock) all
> the
> text boxes and the checkbox itself
> which will prevent further entry.
>
> Can this be done with asp? Any suggestion/help is highly appeciated.
> Previous postings did not help
> to get this resolved. Regards.


Jul 22 '05 #4
obviously you need to clean up the code, what I wrote was only suggestion
quality :}

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:e$******** ********@TK2MSF TNGP15.phx.gbl. ..
correct...
<%
if cbool(l_IsCheck ed)
isDisabled = " disabled "
else
isDisabled = " "

<input type="text" name="txt_Curre ntOutlay" <%= isDisabled %> ......
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:06******** *************** ***********@mic rosoft.com...
Thanks for your insight Curt, I appreciate it. Here is the code of the
checkbox:
<i><input type="checkbox" name="chk_Compl ete" value="TRUE"
<%Response.Writ e
l_IsChecked%><% if cbool(l_IsCheck ed) then Response.Write " checked" Else
Response.Write " unchecked"%>>

while one of the textbox in the asp page is coded as:
<input type="text" name="txt_Curre ntOutlay" size="13"
value="<%Respon se.Write FormatCurrency( l_cu_CurrentOut lay,2)%>"
style="font-family: Times New Roman; font-size: 12pt"></font></td>
Now, are you suggesting to use the value of l_IsChecked to be utilized in
the input tag of the text boxes? Need a little clarification here.
Regards

"Curt_C [MVP]" wrote:
You will have to get the value of the checkbox when the page loads. I
would
use a simple string value to hold a " disabled " or " " text string.
Then in
ALL of your controls do a <input..... <%= YourValue %> ...>
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:24******** *************** ***********@mic rosoft.com...
>I have a asp form where among others there are few text boxes and one
>check
> box. The checkbox is
> to indicate whether the entry is final. The checkbox is attahced to a
> field
> in table of type yes/no.
> After saving the documents,the form is refreshed. At this point, if
> the
> checkbox has been saved with checked,
> it shows unchecked, if it has been saved unchecked it shows unchecked.
>
> Here, if the checkbox shows checked, I want to disable (or lock) all
> the
> text boxes and the checkbox itself
> which will prevent further entry.
>
> Can this be done with asp? Any suggestion/help is highly appeciated.
> Previous postings did not help
> to get this resolved. Regards.


Jul 22 '05 #5
You just had wonderful advise, Curt. Thanks a ton. Instead of disabled, I had
to change the properties to readonly. With the texts and the checkbox being
disabled, the values are not been passed to the sql processing and database
saving asp page. However, with readonly attribute, this problem does not
arise.

Only one problem still exists. That is, with the checkbox, the readonly
property did not work. The disbled property cannot be applied due to the
reasons explained above. Do you have any idea, how to make the checkbox
'useless' i.e. users will not be able to click and uncheck the checkbox now.
I am yet to come up with an idea.
Any thoughts. Regards.

"Curt_C [MVP]" wrote:
correct...
<%
if cbool(l_IsCheck ed)
isDisabled = " disabled "
else
isDisabled = " "

<input type="text" name="txt_Curre ntOutlay" <%= isDisabled %> ......
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:06******** *************** ***********@mic rosoft.com...
Thanks for your insight Curt, I appreciate it. Here is the code of the
checkbox:
<i><input type="checkbox" name="chk_Compl ete" value="TRUE"
<%Response.Writ e
l_IsChecked%><% if cbool(l_IsCheck ed) then Response.Write " checked" Else
Response.Write " unchecked"%>>

while one of the textbox in the asp page is coded as:
<input type="text" name="txt_Curre ntOutlay" size="13"
value="<%Respon se.Write FormatCurrency( l_cu_CurrentOut lay,2)%>"
style="font-family: Times New Roman; font-size: 12pt"></font></td>
Now, are you suggesting to use the value of l_IsChecked to be utilized in
the input tag of the text boxes? Need a little clarification here. Regards

"Curt_C [MVP]" wrote:
You will have to get the value of the checkbox when the page loads. I
would
use a simple string value to hold a " disabled " or " " text string. Then
in
ALL of your controls do a <input..... <%= YourValue %> ...>
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:24******** *************** ***********@mic rosoft.com...
>I have a asp form where among others there are few text boxes and one
>check
> box. The checkbox is
> to indicate whether the entry is final. The checkbox is attahced to a
> field
> in table of type yes/no.
> After saving the documents,the form is refreshed. At this point, if the
> checkbox has been saved with checked,
> it shows unchecked, if it has been saved unchecked it shows unchecked.
>
> Here, if the checkbox shows checked, I want to disable (or lock) all
> the
> text boxes and the checkbox itself
> which will prevent further entry.
>
> Can this be done with asp? Any suggestion/help is highly appeciated.
> Previous postings did not help
> to get this resolved. Regards.


Jul 22 '05 #6
we had a similar issue with checkboxes. What we did to work around it was
add an onClick() so that if it was checked and someone clicked it, it
automatically, re-checked itself.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:50******** *************** ***********@mic rosoft.com...
You just had wonderful advise, Curt. Thanks a ton. Instead of disabled, I
had
to change the properties to readonly. With the texts and the checkbox
being
disabled, the values are not been passed to the sql processing and
database
saving asp page. However, with readonly attribute, this problem does not
arise.

Only one problem still exists. That is, with the checkbox, the readonly
property did not work. The disbled property cannot be applied due to the
reasons explained above. Do you have any idea, how to make the checkbox
'useless' i.e. users will not be able to click and uncheck the checkbox
now.
I am yet to come up with an idea.
Any thoughts. Regards.

"Curt_C [MVP]" wrote:
correct...
<%
if cbool(l_IsCheck ed)
isDisabled = " disabled "
else
isDisabled = " "

<input type="text" name="txt_Curre ntOutlay" <%= isDisabled %> ......
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:06******** *************** ***********@mic rosoft.com...
> Thanks for your insight Curt, I appreciate it. Here is the code of the
> checkbox:
> <i><input type="checkbox" name="chk_Compl ete" value="TRUE"
> <%Response.Writ e
> l_IsChecked%><% if cbool(l_IsCheck ed) then Response.Write " checked"
> Else
> Response.Write " unchecked"%>>
>
> while one of the textbox in the asp page is coded as:
> <input type="text" name="txt_Curre ntOutlay" size="13"
> value="<%Respon se.Write FormatCurrency( l_cu_CurrentOut lay,2)%>"
> style="font-family: Times New Roman; font-size: 12pt"></font></td>
> Now, are you suggesting to use the value of l_IsChecked to be utilized
> in
> the input tag of the text boxes? Need a little clarification here.
> Regards
>
>
>
>
>
> "Curt_C [MVP]" wrote:
>
>> You will have to get the value of the checkbox when the page loads. I
>> would
>> use a simple string value to hold a " disabled " or " " text string.
>> Then
>> in
>> ALL of your controls do a <input..... <%= YourValue %> ...>
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
>> news:24******** *************** ***********@mic rosoft.com...
>> >I have a asp form where among others there are few text boxes and one
>> >check
>> > box. The checkbox is
>> > to indicate whether the entry is final. The checkbox is attahced to
>> > a
>> > field
>> > in table of type yes/no.
>> > After saving the documents,the form is refreshed. At this point, if
>> > the
>> > checkbox has been saved with checked,
>> > it shows unchecked, if it has been saved unchecked it shows
>> > unchecked.
>> >
>> > Here, if the checkbox shows checked, I want to disable (or lock) all
>> > the
>> > text boxes and the checkbox itself
>> > which will prevent further entry.
>> >
>> > Can this be done with asp? Any suggestion/help is highly appeciated.
>> > Previous postings did not help
>> > to get this resolved. Regards.
>>
>>
>>


Jul 22 '05 #7
I have no idea yet how to handle the onclick stuff. I am consulting the web
for some help. Could you shed some light with the code, if you recall.
Regards. Again, I appreciate all your generous help.

"Curt_C [MVP]" wrote:
we had a similar issue with checkboxes. What we did to work around it was
add an onClick() so that if it was checked and someone clicked it, it
automatically, re-checked itself.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:50******** *************** ***********@mic rosoft.com...
You just had wonderful advise, Curt. Thanks a ton. Instead of disabled, I
had
to change the properties to readonly. With the texts and the checkbox
being
disabled, the values are not been passed to the sql processing and
database
saving asp page. However, with readonly attribute, this problem does not
arise.

Only one problem still exists. That is, with the checkbox, the readonly
property did not work. The disbled property cannot be applied due to the
reasons explained above. Do you have any idea, how to make the checkbox
'useless' i.e. users will not be able to click and uncheck the checkbox
now.
I am yet to come up with an idea.
Any thoughts. Regards.

"Curt_C [MVP]" wrote:
correct...
<%
if cbool(l_IsCheck ed)
isDisabled = " disabled "
else
isDisabled = " "

<input type="text" name="txt_Curre ntOutlay" <%= isDisabled %> ......
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:06******** *************** ***********@mic rosoft.com...
> Thanks for your insight Curt, I appreciate it. Here is the code of the
> checkbox:
> <i><input type="checkbox" name="chk_Compl ete" value="TRUE"
> <%Response.Writ e
> l_IsChecked%><% if cbool(l_IsCheck ed) then Response.Write " checked"
> Else
> Response.Write " unchecked"%>>
>
> while one of the textbox in the asp page is coded as:
> <input type="text" name="txt_Curre ntOutlay" size="13"
> value="<%Respon se.Write FormatCurrency( l_cu_CurrentOut lay,2)%>"
> style="font-family: Times New Roman; font-size: 12pt"></font></td>
> Now, are you suggesting to use the value of l_IsChecked to be utilized
> in
> the input tag of the text boxes? Need a little clarification here.
> Regards
>
>
>
>
>
> "Curt_C [MVP]" wrote:
>
>> You will have to get the value of the checkbox when the page loads. I
>> would
>> use a simple string value to hold a " disabled " or " " text string.
>> Then
>> in
>> ALL of your controls do a <input..... <%= YourValue %> ...>
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
>> news:24******** *************** ***********@mic rosoft.com...
>> >I have a asp form where among others there are few text boxes and one
>> >check
>> > box. The checkbox is
>> > to indicate whether the entry is final. The checkbox is attahced to
>> > a
>> > field
>> > in table of type yes/no.
>> > After saving the documents,the form is refreshed. At this point, if
>> > the
>> > checkbox has been saved with checked,
>> > it shows unchecked, if it has been saved unchecked it shows
>> > unchecked.
>> >
>> > Here, if the checkbox shows checked, I want to disable (or lock) all
>> > the
>> > text boxes and the checkbox itself
>> > which will prevent further entry.
>> >
>> > Can this be done with asp? Any suggestion/help is highly appeciated.
>> > Previous postings did not help
>> > to get this resolved. Regards.
>>
>>
>>


Jul 22 '05 #8
Gazing into my crystal ball I observed "=?Utf-8?B?SmFjaw==?="
<Ja**@discussio ns.microsoft.co m> writing in
news:50******** *************** ***********@mic rosoft.com:
You just had wonderful advise, Curt. Thanks a ton. Instead of disabled,
I had to change the properties to readonly. With the texts and the
checkbox being disabled, the values are not been passed to the sql
processing and database saving asp page. However, with readonly
attribute, this problem does not arise.

Only one problem still exists. That is, with the checkbox, the readonly
property did not work. The disbled property cannot be applied due to
the reasons explained above. Do you have any idea, how to make the
checkbox 'useless' i.e. users will not be able to click and uncheck the
checkbox now. I am yet to come up with an idea.
Any thoughts. Regards.
If I were you, I would pass the value in a hidden input, and maybe just
show plain text to let the user know they checked (or did not check)
before. Or you could use the disabled attribute and some CSS to make it
not look disabled (not sure on that one, check with a CSS group to see if
that's possible).


"Curt_C [MVP]" wrote:
correct...
<%
if cbool(l_IsCheck ed)
isDisabled = " disabled " else
isDisabled = " "

<input type="text" name="txt_Curre ntOutlay" <%= isDisabled %> ......
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:06******** *************** ***********@mic rosoft.com...
> Thanks for your insight Curt, I appreciate it. Here is the code of
> the checkbox: <i><input type="checkbox" name="chk_Compl ete"
> value="TRUE" <%Response.Writ e l_IsChecked%><% if cbool(l_IsCheck ed)
> then Response.Write " checked" Else Response.Write " unchecked"%>>
>
> while one of the textbox in the asp page is coded as:
> <input type="text" name="txt_Curre ntOutlay" size="13"
> value="<%Respon se.Write FormatCurrency( l_cu_CurrentOut lay,2)%>"
> style="font-family: Times New Roman; font-size: 12pt"></font></td>
> Now, are you suggesting to use the value of l_IsChecked to be
> utilized in the input tag of the text boxes? Need a little
> clarification here. Regards
>
>
>
>
>
> "Curt_C [MVP]" wrote:
>
>> You will have to get the value of the checkbox when the page loads.
>> I would use a simple string value to hold a " disabled " or " "
>> text string. Then in ALL of your controls do a <input..... <%=
>> YourValue %> ...>
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
>> news:24******** *************** ***********@mic rosoft.com...
>> >I have a asp form where among others there are few text boxes and
>> >one check
>> > box. The checkbox is
>> > to indicate whether the entry is final. The checkbox is attahced
>> > to a field in table of type yes/no.
>> > After saving the documents,the form is refreshed. At this point,
>> > if the checkbox has been saved with checked, it shows unchecked,
>> > if it has been saved unchecked it shows unchecked.
>> >
>> > Here, if the checkbox shows checked, I want to disable (or lock)
>> > all the text boxes and the checkbox itself
>> > which will prevent further entry.
>> >
>> > Can this be done with asp? Any suggestion/help is highly
>> > appeciated. Previous postings did not help to get this resolved.
>> > Regards.
>>
>>
>>



--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #9
I wish I remember where this came from but put this in the head of the page
<SCRIPT LANGUAGE="JavaS cript" >
function dont_touch(form ) {
if (form.checked) {
form.checked = false
} else {
form.checked = true
}
}
</SCRIPT>

Then put this inside the checkbox tags onClick='dont_t ouch(this)'

It's javascript not asp but sounds like what you want.

Mike

"Jack" wrote:
I have no idea yet how to handle the onclick stuff. I am consulting the web
for some help. Could you shed some light with the code, if you recall.
Regards. Again, I appreciate all your generous help.

"Curt_C [MVP]" wrote:
we had a similar issue with checkboxes. What we did to work around it was
add an onClick() so that if it was checked and someone clicked it, it
automatically, re-checked itself.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
news:50******** *************** ***********@mic rosoft.com...
You just had wonderful advise, Curt. Thanks a ton. Instead of disabled, I
had
to change the properties to readonly. With the texts and the checkbox
being
disabled, the values are not been passed to the sql processing and
database
saving asp page. However, with readonly attribute, this problem does not
arise.

Only one problem still exists. That is, with the checkbox, the readonly
property did not work. The disbled property cannot be applied due to the
reasons explained above. Do you have any idea, how to make the checkbox
'useless' i.e. users will not be able to click and uncheck the checkbox
now.
I am yet to come up with an idea.
Any thoughts. Regards.

"Curt_C [MVP]" wrote:

> correct...
> <%
> if cbool(l_IsCheck ed)
> isDisabled = " disabled "
> else
> isDisabled = " "
>
> <input type="text" name="txt_Curre ntOutlay" <%= isDisabled %> ......
>
>
> --
> Curt Christianson
> Site & Scripts: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
> news:06******** *************** ***********@mic rosoft.com...
> > Thanks for your insight Curt, I appreciate it. Here is the code of the
> > checkbox:
> > <i><input type="checkbox" name="chk_Compl ete" value="TRUE"
> > <%Response.Writ e
> > l_IsChecked%><% if cbool(l_IsCheck ed) then Response.Write " checked"
> > Else
> > Response.Write " unchecked"%>>
> >
> > while one of the textbox in the asp page is coded as:
> > <input type="text" name="txt_Curre ntOutlay" size="13"
> > value="<%Respon se.Write FormatCurrency( l_cu_CurrentOut lay,2)%>"
> > style="font-family: Times New Roman; font-size: 12pt"></font></td>
> > Now, are you suggesting to use the value of l_IsChecked to be utilized
> > in
> > the input tag of the text boxes? Need a little clarification here.
> > Regards
> >
> >
> >
> >
> >
> > "Curt_C [MVP]" wrote:
> >
> >> You will have to get the value of the checkbox when the page loads. I
> >> would
> >> use a simple string value to hold a " disabled " or " " text string.
> >> Then
> >> in
> >> ALL of your controls do a <input..... <%= YourValue %> ...>
> >>
> >>
> >> --
> >> Curt Christianson
> >> Site & Scripts: http://www.Darkfalz.com
> >> Blog: http://blog.Darkfalz.com
> >>
> >>
> >> "Jack" <Ja**@discussio ns.microsoft.co m> wrote in message
> >> news:24******** *************** ***********@mic rosoft.com...
> >> >I have a asp form where among others there are few text boxes and one
> >> >check
> >> > box. The checkbox is
> >> > to indicate whether the entry is final. The checkbox is attahced to
> >> > a
> >> > field
> >> > in table of type yes/no.
> >> > After saving the documents,the form is refreshed. At this point, if
> >> > the
> >> > checkbox has been saved with checked,
> >> > it shows unchecked, if it has been saved unchecked it shows
> >> > unchecked.
> >> >
> >> > Here, if the checkbox shows checked, I want to disable (or lock) all
> >> > the
> >> > text boxes and the checkbox itself
> >> > which will prevent further entry.
> >> >
> >> > Can this be done with asp? Any suggestion/help is highly appeciated.
> >> > Previous postings did not help
> >> > to get this resolved. Regards.
> >>
> >>
> >>
>
>
>


Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3511
by: Efy. | last post by:
Hello, The following problam description I did not need to write, I just copied from the groups from others which met the error and allways the thread was 1 artical the problem was never resolved! So, please someone there , any idea? I've createed a typed dataset that I fill from a sql query. The problem comes when I try to access the elements after it's filled if I
2
5826
by: Uma Abhyankar | last post by:
Hello, I am using .NET Beta1 Visual Studio. I have to invoke VCBuild through MSBuild on command prompt. I have following issues: Issue1: -------- MSBuild invokes VCBuild internally. However it invokes VCBuild without
1
2066
by: Uma Abhyankar | last post by:
Hello All, I was facing an issue with VCBuild on Beta1. Today after shifting to .NET Beta2, it looks like the issue is still not resolved :-( I have to invoke VCBuild through MSBuild on command prompt. I have following issue: Issue: -------- MSBuild can invoke VCBuild internally. However it invokes VCBuild without
14
2141
by: TrvlOrm | last post by:
OK. After much playing around, I managed to get my frame page this far.. see code below. BUT...there are still errors with it, and what I would like to have happened is this: 1) On the Left Frame (File LeftEx8_2.html) a series of buttons, which when clicked prompt the user to enter information for background color, text color, link color, title and some text.
14
2237
by: Craig O'Shannessy | last post by:
Hi all, Just thought I'd mention that I really think this problem needs to be fixed. I I'm patching the 7.4RC1 JDBC drivers as we speak due to this optimiser bug, and it's the third time I've had to do this. I would think this bug causes quite a lot of people to evaluate postgres and decide it has awful primary key performance! I love postgres, and hate to think that this could be happening.
0
2208
by: Damon | last post by:
I've been pulling my hair out over this and I need some expert help. I'm trying to access an XML API using cURL over SSL. Here's the API address: https://tps-test.voiceeclipse.com/cgi-bin/ve_xml.cgi Here's what I'm doing:
3
4904
by: Chris | last post by:
I have a python script that is driving Excel and using the win32com module. However, upon program completion there's still an Excel.exe process running in the background that I must terminate through Task Manager. Reading up on other threads indicate that maybe I still have some Excel objects referenced within my code. Is this why the process doesn't terminate? The related (I hope) parts of my code is here. x1App =...
3
17110
by: amanjsingh | last post by:
Hi, I am trying to implement Java Web Service using Apache Axis2 and Eclipse as a tool. I have created the basic code and deployed the service using various eclipse plugin but when I try to invoke the service using client stub, I get this error... Exception in thread "main" java.lang.Error: Unresolved compilation problems: org.apache cannot be resolved to a type org.apache cannot be resolved to a type org.apache cannot be resolved to a...
9
1532
by: lorlarz | last post by:
I still have a question regarding the following code, in a commonly used routine. First, Here's the code in question: Function.prototype.bind = function(){ var fn = this, args = Array.prototype.slice.call(arguments), object = args.shift(); return function(){ return fn.apply(object, args.concat(Array.prototype.slice.call(arguments)));
0
8375
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8707
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8482
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2714
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1593
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.