Hi there,
I have an action button in my form. It contains this formula:-
@command([filesave]);
@command([fileclosewindow]);
This button will trigger the validation agent written in Lotus Script (server validation), which i put in the WebQuerySave & QuerySave respectively.
So far so good…
I thought of making my button more user friendly, by asking user before they proceed…which will work on both notes/web client.
So in the button i have the revised formula:
if(confirm(‘Do you really want to do this?’))
{
doc.Save.click()
}
The Save button containing:-
@command([filesave]);
@command([fileclosewindow]);
is put somewhere in the form (not hidden).
This works fine in my PC browser, however to no avail in the BlackBerry browser. Am I missing something here or JS only works to a certain level in the BB browser.
I also actually tried another alternative, that is asking the user if he wants to proceeed once all the validation is passed (code written in the LS validation agent).
The code something like this:-
print | |
The problem here is, should the user decided to proceed, i would like the field value of DocStatus to be assigned to “Final”. It’s not prossible this way, i tried already…
print |window.document.forms[0].DocStatus.value = ‘Final’|
will not actually update the DocStatus value in the form…theoratically not possible i would think … but i tried anyway
I’m running out of idea now…
Any advice would be highly appreciated…