4 months ago

[FormRequest Validation] Missing inputs marked required not validating

Posted 4 months ago by Shobo

I'm using FormRequest validation on a form however if an input is missing (for example a select input with the first 'default' option marked as disabled) the FormRequest validator will just ignore that field - even if it's marked as required, and validate the request even though it should not be validated.

Is there any way to have it check to ensure all required fields are indeed present instead of ignoring any fields that are missing?

Please sign in or create an account to participate in this conversation.