Thank for the tips. One more question: does it have to be a function when I put the code in the answer type javascript text area?
Btw, the script is there and I had a document.write to see is the code if working and it does. Its just that the field remains empty. Any ideas?
EDIT#1: I noticed something. In my latest code presented here in this thread, the script is placed after the field. I tried placing the script of the above code just after the <form> opening tag, as is in the actual source code on the survey page, and it didn't work. I'm trying to see why, cause If I solve this puzzle I think it will work. Meanwhile any ideas why it doesn't work?
EDIT#2: In the code I have added a document.write() method that prints the current time, just to see if the code works. It works, it prints the time and I checked the source code and the javascript it there just after the <form> opening tag. In other words it seems like the code it placed correctly and it works. It seems like something it cutting the effort short.
- Could it be all those table tags?
- Is there a way to place the code inside the class "surveyAnswer" or div class "ScrollableDiv"? I think that this might be the problem.