限制表格上的选择 - 如何? [英] Restrict selection on form - How?

查看:81
本文介绍了限制表格上的选择 - 如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户希望我创建一个包含约50

公寓列表的表单。他希望我对表格设置一个限制,即用户可以选择/请求的公寓列表数量。那可能吗?如果是这样的话,

我需要做什么或用来使这个特技成为可能?


每页上的项目会有所不同。数据在

三页之间传递。


让我们在第1页说有可用的公寓(20)位于A区。

page2有区域B(15)位于B区。在第3页有

condos可用(15)位于C区。


用户去第2页看到他/她想要信息的公寓

。他们选择那个公寓。


用户现在已经从第2页选择了-one- condo。


如果用户转到第1页或第3页当用户点击提交按钮时,从这些页面中选择一个公寓,由于用户选择了多个页面,程序不应该允许页面提交
一个公寓。怎么可以这样做?b / b
谢谢!

I have a client that wants me to create a form that will contain about 50
condo listings. He wants me to place a restriction on the form as to the
number of Condo listings a user can select/request. Is that possible? If so,
what will I need to do or use to make this stunt possible?

The items on each page would be different. The data is being passed between
three pages.

Lets say on page1 there are condos available (20) located in area A. On
page2 there are condos available (15) located in area B. On page3 there are
condos available (15) located in area C.

The user goes to page2 sees a condo that he/she would like information
about. They select that condo.

The user has now selected -one- condo from page2.

If the user goes to page 1 or 3 and selects a condo from those pages when
the user hits the Submit button, the program should not allow the page(s) to
submit since the user has selected more than one condo. How can that be
done?

Thanks!

推荐答案

" ; TB的" < TE ****** @ rogers.com>写道:
"Terabyte" <te******@rogers.com> wrote:
我有一个客户要我创建一个包含
约50个公寓列表的表单。他希望我对
表单中的用户可以选择/请求的公寓列表数量进行限制。
这可能吗?
I have a client that wants me to create a form that will contain
about 50 condo listings. He wants me to place a restriction on the
form as to the number of Condo listings a user can select/request.
Is that possible?




不是HTML格式。


表单处理程序可以施加你喜欢的任何限制。


-

Yucca, http://www.cs.tut.fi/~jkorpela/

关于网页创作的网页: http://www.cs.tut.fi/~jkorpela/www.html



Not in HTML.

The form handler can impose any restrictions you like.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html




Jukka K.Korpela < JK ****** @ cs.tut.fi>在消息中写道

news:Xn ***************************** @ 193.229.0.31。 ..

"Jukka K. Korpela" <jk******@cs.tut.fi> wrote in message
news:Xn*****************************@193.229.0.31. ..
不在HTML中。

表单处理程序可以施加您喜欢的任何限制。
Not in HTML.

The form handler can impose any restrictions you like.



感谢您的回复!

你在谈论使用表格吗?如果不是什么形式处理程序?


Elton


Thank you for replying!
Are you talking about using forms? If not what are form handlers?

Elton


" Terabyte" < TE ****** @ rogers.com>写道:
"Terabyte" <te******@rogers.com> wrote:
你在谈论使用表格吗?


是的。你不是吗?

如果不是什么是表格处理程序?
Are you talking about using forms?
Yes. Aren''t you?
If not what are form handlers?




如果您不知道处理程序是什么形式,那么你没有多少机会

做任何有用的表格。


-

Yucca, http://www.cs.tut.fi/~jkorpela/

有关网页制作的网页: http:// www .cs.tut.fi / ~jkorpela / www.html



If you don''t know what form handlers are, you won''t have much chances
of doing anything useful with forms.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


这篇关于限制表格上的选择 - 如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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