(11-18-2016, 09:58 AM)php_rocs Wrote: @sheenam - your popup screen is bringing up data that is hidden in the popup form until you make it visible. Therefore it will always have all the data.
There are a couple of approaches that you can take. I will give you one.
1. create a function called edittaxes in your controller.
- This function should look for a t_id (taxid)
- Take the t_id and call a model to get the tax id record
- Take the results and put it in a view (this view is the exact same as your modal view form (in the original view) - the only difference is that it should be configured to handle one record)
2. You can pull a view into your modal by setting the href attribute in your edit button <a> tag. (ie /settings/tax/edittaxes?t_id=XX)
3. Don't forget to empty out the modal (in the main screen) so that the contents of your view can be put in its' place.
Give this a try.
@php_rocks thanku so much for your help dear. i will try this and let you know whether i was able to do it or no.. :

god bless you