mardi 26 janvier 2016

How to make dynamic fields from user input in laravel?

i'm having a lost here when i want to make dynamic fields based on user input. for example this is the field to receive user input to create a blank field:

 {!! Form::open(array('url' => 'home')) !!}
    <div class="form-group">
        {!! Form::label('n', 'Parameter') !!}
        {!! Form::number('n', null, ['class' => 'form-control', 'placeholder' => 'How Many Parameter to create ?']) !!}
    </div>
    {!! Form::submit('Submit', ['class' => 'btn btn-primary']) !!}
    {!! Form::close() !!}

after submitting. there should be a blank fields as many as the input above. i've searched some reference, but there isn't much further information about the code that i can get. and i'm in a dilema. i'm hoping for a help. thankyou



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire