Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: element number

  1. #1
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    element number

    Sorry for the basic question. I am looking to determine an element number in a form of a field based on its name so I can start looping through the next 50 elements. I know the name but can not find how to determine its element number. Thanks for any help in advance!

  • #2
    Senior Coder
    Join Date
    Jul 2005
    Location
    New York, NY
    Posts
    1,084
    Thanks
    4
    Thanked 19 Times in 19 Posts
    Elements do not have a number in such a way. The only way to obtain this is to loop over the elements collection of the form and compare each with the element you have and then store the iterator's value.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •