我需要验证在输入type=“按钮”点击MVC表单,而不是在输入type=“提交”。单击按钮时,如果值无效,则需要验证表单并使用javascript执行相关验证。我的表单是这样的
<% using (Html.BeginForm("ConfirmationForPayment", "Plan", FormMethod.Post, new { id = "frm&q
Validation in Moodle filepicker不起作用。我的表格是add_form.php
class add_form extends moodleform {但是,用于validation的answerfile (必需)不起作用。我正在使用两个字段one editor and one filepicker fields.当我在filepicker中提交空值(没有选择文件)<em