Hello i have an issue when it comes to display my creating product form. The main problem is that i have some fields different from one category to other and i want to display it just with what is needed for a specific category so what i thought is how i can load a partial based on select list. The workflow is: 1. I am selecting the product type 2. I am selecting category 3. the form partial is displayed. Yes i could have done this with jquery hiding and toggling classes with fadeIn and fadeOut but is there a way how this could be performed from the laravel part ?
Well, seeing that you want to change the view based on user behaviour on the page; you will need to use JavaScript. If so, the easiest options in my eyes are to either:
you would still need the ajax/jquery to send the product type & category to a controller which will return you the view which you would have to use jquery/ajax to append/add to the current page..
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community