Could someone help me my below post from yesterday…
Thanks
Rinkoo Keshari
Could someone help me my below post from yesterday…
Thanks
Rinkoo Keshari
Subject: Comparing fields on the web
There is no way to keep a value in memory between the WQO and WQS events. In Notes, it all happens in the client, but on the server there could literally be thousands of documents being opened and closed between the time your WQO is run and the WQS is run – it would be impractical to try to store the value in memory. And what happens when a user simply closes the browser or navigates to another page? If you want a value to be available, you need to store it in a document. It’s up to you whether you want to store it in a hidden field on the current document or in a separate “session” document.
Subject: Comparing fields on the web
You can’t compare using webQueryOpen and webQuerySave unless you write the current value of the field to a second field on webQueryOpen and then test against this on webQuerySave.
Alternatively use JavaScript and use the onChange event of the field to trigger the setting of another (input type=“Hidden”) field. This field can then be monitored and compared in webQuerysave as long as your form contains a hidden field with that name .
Subject: RE: Comparing fields on the web
Thanks guys for clearing that WQO and WQS does not work together on the web.
I will try you suggestions.
Thanks,
Rinkoo.