473,602 Members | 2,853 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 1545
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
3510
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
5816
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
2058
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
2138
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
2233
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
2206
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
4898
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
17105
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
7924
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,...
1
8059
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
8270
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6731
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5873
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5440
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
3902
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
3944
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1513
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.