سؤال

I have an action that deletes items from a database. However, when I added a form validation file, I kept getting this error : no result defined for action and result input when trying to delete items.

When I delete the validation file, it works fine again. I really don't understand, is it a compatibility issue ?

هل كانت مفيدة؟

المحلول

When you use validation the input result is required to return when errors are found or added. Removing it assumable no validations are performed, so no result is required. It's not a compatibility, just a resort of things.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top