my problem is, I want to check the text field and displays the value in next question. Example,

1. How many chocolates have you had?

ans = 10
(here It has to enter automatically the value to the next question)

2. How may of these 10(it comes automaticaly from the previous question) are having nuts in it?

anyone can you please let me know the code how can i do it in javascript .....

Smily