默认和必填字段功能 [英] Default and mandatory field functions

查看:86
本文介绍了默认和必填字段功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个字段


Field1 - 有选项是或否

Field2 - 有三个选项可供选择


首先:我需要做些什么才能使Field1为No,而Field2默认不可选?


第二:如果选择Field1为是,我希望Field2变为可选和强制性的。


让我知道,Cyber​​dyne。

I have two fields

Field1 - has options Yes or No
Field2 - has three options to chose from

First: What do I need to do to make Field1 be No and Field2 not selectable by default?

Second: If Field1 is selected as Yes I want Field2 to become selectable and mandatory.

Let me know, Cyberdyne.

推荐答案


我有两个字段


Field1 - 有选项是或否

Field2 - 有三个选项可供选择


首先:我需要做些什么才能使Field1为No,而Field2不能默认选择?


第二:如果选择Field1为是,我希望Field2成为可选择的和强制性的。


让我知道,Cyber​​dyne。
I have two fields

Field1 - has options Yes or No
Field2 - has three options to chose from

First: What do I need to do to make Field1 be No and Field2 not selectable by default?

Second: If Field1 is selected as Yes I want Field2 to become selectable and mandatory.

Let me know, Cyberdyne.



嗨。你在想一个表格吗?

Hi. Are you thinking about a form?



嗨。你在考虑表格吗?
Hi. Are you thinking about a form?




是一个包含许多字段的表单Field1和Field2是表单中的最后两个字段。



Yes its a form with many fields Field1 and Field2 are the last two fields in the form.



是一个包含许多字段的表单Field1和Field2是表单中的最后两个字段。
Yes its a form with many fields Field1 and Field2 are the last two fields in the form.



然后你可以使field1成为一个带有两个单选按钮的选项组。如果选择no,则默认情况下,您可以使field2不可见:

Then you can make field1 an option group with two radio buttons. When no is selected, as by default, you can make field2 either invisible:

展开 | 选择 | Wrap | 行号


这篇关于默认和必填字段功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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