Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Question about MapThread and Dynamic

I write a function name as inputFieldsList and it returns both InputFieldsand InputFieldValueswith in single list.

inputFieldsList[kl_] := 
   (inputvaluelist = Table[0, {kl}];
            With[{i = i},
                (InputField[Dynamic[inputvaluelist[[i]]], Number, 
    ContinuousAction ->
                True, ImageSize -> {50, 20}, Alignment -> Center])
            {i, 1, Length[inputvaluelist]}

calling that Function

result = inputFieldsList[5]



       Part[result, 1]






      Part[result, 2,1]

case4 is not working....

why it is not working?

How can I extract specific element from the second element of the result?

can anybody help me?

share|improve this question

marked as duplicate by Mr.Wizard Jan 21 '13 at 10:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Check result[[2]] // FullForm. – b.gatessucks Jan 21 '13 at 10:20
I want to extract any specific element from the second element of the result. – subbu Jan 21 '13 at 10:28
Part[result /. Dynamic -> Identity, 2, 1]
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.