After realising that a lot of people are ill-informed about Lotus Notes / Domino and its capabilities, I have established this blog (built on Lotus Notes! It compliments legacy applications in Oracle, SAP and other third party applications.
I did not have the right to use agents in my mail file so this solution worked.
You can use the * for all devices the user use or the Device ID seen in the info dump.
Normally a user is using only one device so * should work for you.
Name(0) trimmed = Trim(Txt) If ( trimmed = "") Then Msg Box "Please enter some text." source. I agree, that this is probably not the best way of doing this at all.
Goto Field("Name") Validate Form= false Else Validate Form= True End If Exit Function e: Msg Box "error at"& Erl() & " and error is "& Error() End Function I have tried using in agent in options using below: Use "Validate" and tried calling it in button using formula @Command([Tools Run Macro]; "Val") But no use I am not getting the desired output. But probably discussing the best way of doing field validation in Lotus Notes is kind of discussing "personal preferences".