C
|
cgphp 7/24/2012 |
The right syntax to get the value of a control is the following: var type = Runner.getControl(pageid, 'type');
How can I get the value of the field on the list page so that I only show the relevant fields for each form |
|
7542 7/24/2012 |
Hi Cristian |
C
|
cgphp 7/24/2012 |
Control object allows you to work with the "edit" controls not with list page. |
|
7542 7/24/2012 |
Hi |
C
|
cgphp 7/24/2012 |
Do you want to hide the columns on the list page? |
|
7542 7/24/2012 |
Yes, dependant on the id of the type field. I cannot use $tx and assign false as I cannot get the data["... attribute on the before display event. If I could this may work. But I also would like to change the text of headings which is why I favoured Javascript. |
C
|
cgphp 7/24/2012 |
If it depends on the id of the record, you have to hide the value of the field not the column. You can set the field as Custom and set the value to an empty string. |