Hi
I am working on Notes Client and am facing a peculiar issue.
From a Button in a form, an agent “Agent1” is called based on the roles available to the user.The agent has validations to make sure that the ResouceName field should not be blank. When a user clicks on the button while leaving the Resource Name field blank, the agent is called and the user is prompted to enter the Resource Name field and exits the agent. Again, when the user enters the value in the field and clicks on the button, the error “Document has not yet been saved” is thrown and the agent is not called at all.
There are some hidden fields in the form which have some default values. I seached in the forum and the only solution is found was to do a FileSave before calling the agent. But on doing so the form’s performance has become slow as the agent is called each time there is a click on the button.
Can anybody throw some light in this issue. Please Help!
Thanks in advance