how to make a show hide text box on a pop up add certain conditions eg using the dropdown in phpgrid ..? thanks
4 Answers
You can inspect the field id.using firebug and use jquery functions to disable / enable desired field.
To know jquery selector:
http://easycaptures.com/fs/uploaded/1017/9892108434.png
http://easycaptures.com/fs/uploaded/1017/9617668813.png
So how to make default textbox is hide and can be changed by condition ..
thanks Abu
Set following column option:
$col["show"]["edit"] = false;
It will make it default hidden on edit dialog.
Same applies for "add", "view" dialog and "list" mode.
Your Answer