問題描述
I am to a form where a text field is based on a yes/no in a field.
我正在尋求創建一個表單js 選擇元素做表單驗證,其中基于上一個字段中的是/否問題js 選擇元素做表單驗證,需要一個文本字段。 I can the yes/no as a List or as Radio .
我可以將是/否問題構造為下拉列表或單選按鈕。 I am not using a "" or any other on the form (and would not to), but would like the to an error if they try to save the PDF and the field is not in.
我沒有在表單上使用“提交”按鈕或任何其他按鈕(并且不希望這樣做),但是如果該人嘗試保存PDF并且未填寫條件字段,希望他們收到一條錯誤消息。
I have tried from my , but have not to work.
我已經從網上研究中嘗試了幾種不同的解決方案,但是還沒有進行任何工作。 Any help would be !
任何幫助,將不勝感激!