jeudi 23 novembre 2017

Laravel - Pull Details from Another Model based On Select Option

I was curious to know if it was possible to pull details from a separate table on a create form.

For example, if I had a variety of fields, and one was a drop down with a list of users, I'd like a div of their details (from fields within the table) to show up underneath the select option based on my choice from the dropdown.

I'm assuming it's possible through AJAX but I'm not entirely sure with it being a create form and all.

If anyone has any suggestions or has come across something like this before, I'd greatly appreciate any help :) Thanks!



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

Aucun commentaire:

Enregistrer un commentaire