Skip to content

Laravel validate at least one item in a form array

I have a form with a series of numbers in an array: I would like to validate that there is at least one of those input fields that has a value. I tried the following in my OrderCreateRequest, yet the test is passing: Am I missing something? Answer I think you need a custom validation rule like the following b…

set the input type = date min from another input type = date

Hi i’m a rookie in html and been struggling in this inputs, i just want to know how to set the second input minimum date from the first input selected value? i’ve already searched and i just can’t get the right answer… Answer PHP is server-side script that only runs on the server (not …

Parsing HTML in an email with PHP

I have a form I am using to simply capture a name and email from a user. When the user submits the form an email is then fired to the specified recipient containing a link. I had this all working …