dimanche 1 mai 2016

radio button onchange load controller Laravel 5

On my website I want to have the functionality where a person has two ways of signing in .

  • Using a specific number
  • His or hers firstname and surname

To achieve this i'm using a two radio buttons. one for each of the two I mentioned above.

The thing i'm trying to achieve is: When the state of a button changes then a controller needs to load and the registration form has to be updated accordingly.

The code i'm using:


<div class="row">
    <div class="form-group">
        <label class="col-xs-6 col-sm-4 col-sm-offset-1">Do yo have your number at hand?</label>
        <div class="col-xs-2">
             Yes
        </div>
        <div class="col-xs-2">
             No
        </div>
    </div>
</div>




from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1O85AHu
via IFTTT

Aucun commentaire:

Enregistrer un commentaire