View Single Post
  #3  
Old 8th February 2007, 12:17
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 247
Thanks: 4
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default

I did a fast view and saw a lot of references like this
Code:
if (something)

  $doc->deck[0]->elements[17]->visible = 0;
I thought using numeric indices would make very hard to "move" a new element ip in a given form? Things could break...
In other codes I see this, which seems to be better
Code:
getElementByName(name)
I did move my element up, so I guess the element index changes all indices by 1, down the form
Reply With Quote