- Contact Information
-
First name{!! Form::text('firstname','',array('size'=>'50','class'=>'required','id'=>'firstname','maxlength'=>"50")) !!} @if($errors->contact->first('firstname')){!!$errors->contact->first('firstname')!!}@endifLast name{!! Form::text('lastname','',array('size'=>'50','class'=>'required','id'=>'lastname','maxlength'=>"50")) !!} @if($errors->contact->first('lastname')){!!$errors->contact->first('lastname')!!}@endifEmail Address{!! Form::email('email','',array('size'=>'50','class'=>'required','id'=>'email')) !!} @if($errors->contact->first('email')){!!$errors->contact->first('email')!!}@endifPhone no{!! Form::text('phone','',array('size'=>'50','pattern'=>'\d{3}[\-]\d{3}[\-]\d{4}')) !!} eg 123-456-7890Subject{!! Form::text('subject','',array('size'=>'50')) !!} @if($errors->contact->first('subject')){!!$errors->contact->first('subject')!!}@endif
- Comments
-
{!! Form::textarea('comments','',array('id'=>'mods2')) !!}
@if($errors->contact->first('comments'))
{!!$errors->contact->first('comments')!!}@endif