View Single Post
  #4  
Old 8th February 2007, 14:13
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,995
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

There is already a getElementByName function implemented:

$doc->deck[0]->getElementByName('web_mailquota')->visible = 0;

But the older code addresses the fields by ID. If you moved your field up, you will either have to change the ID's for all elements that where now on another position or replace the IS's by the getElementByName syntax which will help us in future.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote