What is missing

Hi All & wish u all a very Happy & Prosperous New Year …

Its a web based application.On the main page a button is there when user click on that button the related things will be appear on the screen .

for that i have created a view , agent , and make some changes in script library (main source) the button is visible and the other thing that in script library where i use nodociments as object and where i put a message for that button if nothing is there it will give the message no document is found . this also works fine , my form is also submtting , but when i click the button data will not appear on the main page as when i check in view it shows that data is submitted successfully .

i know that there is some slight mistake is there but can anyone help me to find out .