I'm using the laravel framework for a project, and I'm implementing a basic form page, where I require certain values to be required
, something that can be done very easily in HTML5.
<input type="text" name="abc" required>
In laravel, without the required
attribute, the same would be :
{{ Form::text('abc') }}
How do I incorporate a required attribute in the above statement?
'required' => 'required'
needed? Will justrequire
not work? – Noonberg