Zend: Form validation: value was not found in the haystack error

后端 未结 4 1096
暗喜
暗喜 2021-02-13 03:48

I have a form with 2 selects. Based on the value of the first select, it updates the values of the second select using AJAX. Doing this makes the form not being valid. So, I mad

4条回答
  •  旧时难觅i
    2021-02-13 04:03

    You may also add options to select element before checking for the form validation. This way you are insured the select value is in range.

提交回复
热议问题