Skip to content
Advertisement

Tag: modal-dialog

Pass GET Variable to Modal to use in Query

I am trying to build a budget lookup tool. I have form where someone enters an account#, fund#, and deptID#. When they hit search, it opens a modal and will display a table of the budget balances that match the entered fund, account, and deptID. I can get the modal to open but, I can’t seem to get the data

Ajax multiple file names in one string response

I want to return the file names to use in my html modal. But instead returning each file name, it returns all of them at once. Check the following image: My modal code is: My script to open modal and fetch the files is: And finally my file to fetch the file names from the server is: I want to

Bootstrap modal validation in Laravel

I have a registrarion modal which opens on click. The inputs are validated on the view using required, etc. Thing is, there are other fields (also in other modals I’m not mentionig) in which I validate again rules in my controller. I’ve read that a good way of validating modals is using AJAX. I’m having a hard time with that.

Advertisement