如果选择了单选按钮,则不显示其他字段 [英] If radio button selected do not show other field

查看:72
本文介绍了如果选择了单选按钮,则不显示其他字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立了一个自定义列表,其中一个字段是两个选择下拉列表.选择是匿名的 显示我的名字.默认为匿名.表单的其余部分非常简单,包括一个标题框和一个多行框.如果用户选择匿名,则我想在屏幕上显示单词"anonymous".在清单上 视图.如果选择显示其名称,我将显示其AD用户名.此处的目标是允许用户匿名向列表提交评论.


-Rick-此消息是使用100%回收的电子发送的...

I have build a custom list where one of the fields is a two choice dropdown. The choices  are anonymous and show my name.  It defaults to anonymous.  The rest of the form is fairly simple, a title box and a multi-line box.  If the user chooses to be anonymous I want to display the word "anonymous" on the list view.  If the choose to show their name I will show their AD username.  The goal here is to allow users to submit comments to a list anonymously.


-Rick- This message was sent using 100% recycled electrons...

推荐答案

Hi

请在下面进行检查

https://stackoverflow.com/questions/32196328/validate-a-form-to-ensure-atleast-one-radio-button-is-checked-in-a-group

https://stackoverflow.com/questions/32196328/validate-a-form-to-ensure-atleast-one-radio-button-is-checked-in-a-group


这篇关于如果选择了单选按钮,则不显示其他字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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