简体   繁体   English

在发布页面时在表单集合中显示隐藏控件

[英]showing hide control in form collection while posting page

i am having some control with validation. 我可以通过验证进行控制。 i am hiding some control so that validation will skip for that controls using j query hide() method. 我正在隐藏一些控件,以便使用j query hide()方法对该控件的验证将跳过。 but when i am posting my page controls which are hide on page are available in form collection. 但是,当我发布我隐藏在页面上的页面控件时,可以在表单集合中使用。 is there any property so that those controls which are hide do not come in form collection. 是否有任何属性,以便隐藏的那些控件不会出现在表单集合中。

Thanks Nishant Kumar 谢谢Nishant Kumar

All inputs are submitted in a form submit. 所有输入均以提交表单的形式提交。

theres nothing you can do about it. 您无能为力。

您可以使用javascript / jQuery将其完全删除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM