Parameter Won't Pass when Grid Filed is Hide

Hi All,

I created a customer html image field used to pass parameter to my form when click on it, but when i use “sc_field_display({Branch}, ‘off’)” to hide the field from grid, the parameter won’t pass anymore to my form. Any idea on how to solve this?