还是没有解决。需要专家帮助 [英] Still not resolved. Need expert help

查看:73
本文介绍了还是没有解决。需要专家帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个asp格式,其中有几个文本框和一个支票

框。复选框是

,表示该条目是否为最终条目。该复选框将显示在字段

中,类型为yes / no。

保存文档后,表单将刷新。此时,如果

复选框已经选中保存,

显示未选中,如果未经检查保存,则显示未选中。


这里,如果选中复选框,我想禁用(或锁定)所有

文本框和复选框本身

这将阻止进一步输入。


可以用asp完成吗?任何建议/帮助都是高度关注的。

以前的帖子没有帮助

来解决这个问题。问候。

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.

推荐答案

页面加载时你必须得到复选框的值。我会

使用一个简单的字符串值来保存一个残疾人士或 "文字字符串。然后在

中你的所有控件都执行< input .....<%= YourValue%> ...>

-

Curt Christianson

网站&脚本: http://www.Darkfalz.com

博客: http://blog.Darkfalz.com

"杰克" < JA ** @ discussions.microsoft.com>在消息中写道

news:24 ********************************** @ microsof t.com ...
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**@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
我有一个asp格式,其中有几个文本框和一个支票
框。复选框是
以指示条目是否为最终条目。该复选框位于
字段
表中,类型为yes / no。
保存文档后,表单将刷新。此时,如果
复选框已经选中保存,则显示未选中,如果已取消选中,则显示未选中。

此处,如果复选框显示已选中,我想禁用(或锁定)所有
文本框和复选框本身
这将阻止进一步输入。

这可以用asp完成吗?任何建议/帮助都是高度关注的。
以前的帖子没有帮助
解决这个问题。问候。
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.



感谢您的见解Curt,我很感激。以下是

复选框的代码:

< i>< input type ="复选框"名称= QUOT; chk_Complete"值= QUOT; TRUE" <%Response.Write

l_IsChecked%><%if cbool(l_IsChecked)then Response.Write"检查"否则

Response.Write"取消选中%>>


,而asp页面中的一个文本框编码为:

< input type =" text"名称= QUOT; txt_CurrentOutlay" size =" 13"

value ="<%Response.Write FormatCurrency(l_cu_CurrentOutlay,2)%>"

style =" font-family : 英语字体格式一种; font-size:12pt">< / font>< / td>

现在,您是否建议使用l_IsChecked的值来在

中使用输入标签的文本框?这里需要一点澄清。问候


" Curt_C [MVP]"写道:
Thanks for your insight Curt, I appreciate it. Here is the code of the
checkbox:
<i><input type="checkbox" name="chk_Complete" value="TRUE" <%Response.Write
l_IsChecked%><%if cbool(l_IsChecked) 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_CurrentOutlay" size="13"
value="<%Response.Write FormatCurrency(l_cu_CurrentOutlay,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:
您必须在页面加载时获取复选框的值。我会使用一个简单的字符串值来保存一个残疾人士或 "文字字符串。然后在
所有控件中执行< input .....<%= YourValue%> ...>

-
Curt Christianson
网站&脚本: http://www.Darkfalz.com
博客: http://blog.Darkfalz.com

" Jack" < JA ** @ discussions.microsoft.com>在消息中写道
新闻:24 ********************************** @ microsof t.com。 ..
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**@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
我有一个asp表格,其中有几个文本框和一个支票
框。复选框是
以指示条目是否为最终条目。该复选框位于
字段
表中,类型为yes / no。
保存文档后,表单将刷新。此时,如果
复选框已经选中保存,则显示未选中,如果已取消选中,则显示未选中。

此处,如果复选框显示已选中,我想禁用(或锁定)所有
文本框和复选框本身
这将阻止进一步输入。

这可以用asp完成吗?任何建议/帮助都是高度关注的。
以前的帖子没有帮助
解决这个问题。问候。
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.




正确...

<%

如果cbool(l_IsChecked)

isDisabled ="已禁用 

其他

isDisabled ="


< input type =" text"名称= QUOT; txt_CurrentOutlay" <%= isDisabled%> ......

-

Curt Christianson

网站&脚本: http://www.Darkfalz.com

博客: http://blog.Darkfalz.com

"杰克" < JA ** @ discussions.microsoft.com>在留言中写道

news:06 ********************************** @ microsof t.com ...
correct...
<%
if cbool(l_IsChecked)
isDisabled = " disabled "
else
isDisabled = " "

<input type="text" name="txt_CurrentOutlay" <%= isDisabled %> ......
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jack" <Ja**@discussions.microsoft.com> wrote in message
news:06**********************************@microsof t.com...
感谢您的见解Curt,我很感激。以下是
复选框的代码:
< i>< input type ="复选框"名称= QUOT; chk_Complete" value =" TRUE"
<%Response.Write
l_IsChecked%><%if cbool(l_IsChecked)then Response.Write"检查"否则
Response.Write取消选中%>>

,而asp页面中的一个文本框被编码为:
< input type =" text"名称= QUOT; txt_CurrentOutlay" size =" 13"
value ="<%Response.Write FormatCurrency(l_cu_CurrentOutlay,2)%>"
style =" font-family:Times New Roman; font-size:12pt">< / font>< / td>
现在,您是否建议使用l_IsChecked的值在
文本框的输入标签中使用?这里需要一点澄清。问候


" Curt_C [MVP]"写道:
Thanks for your insight Curt, I appreciate it. Here is the code of the
checkbox:
<i><input type="checkbox" name="chk_Complete" value="TRUE"
<%Response.Write
l_IsChecked%><%if cbool(l_IsChecked) 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_CurrentOutlay" size="13"
value="<%Response.Write FormatCurrency(l_cu_CurrentOutlay,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:
您必须在页面加载时获取复选框的值。我将
使用一个简单的字符串值来保存一个残疾人士或 "文字字符串。然后

你的所有控件都会执行< input .....<%= YourValue%> ...>

-
Curt Christianson
网站&脚本: http://www.Darkfalz.com
博客: http://blog.Darkfalz.com

" Jack" < JA ** @ discussions.microsoft.com>在消息中写道
新闻:24 ********************************** @ microsof t.com。 ..
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**@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
>我有一个asp表单,其中有几个文本框和一个
>检查
>框。复选框是
>表明该条目是否是最终的。该复选框已成为
>领域
>在表格中是/否。
>保存文档后,表单将刷新。此时,如果
>复选框已保存并已选中,
>它显示未选中,如果未经检查保存,则显示未选中。
>
>在这里,如果选中复选框,我想禁用(或锁定)所有
>
>文本框和复选框本身
>这将阻止进一步进入。
>
>这可以用asp完成吗?任何建议/帮助都是高度关注的。
>以前的帖子没有帮助
>解决这个问题。问候。
>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.




这篇关于还是没有解决。需要专家帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆