?
Solved

Lotus Notes 4.6

Posted on 2001-09-18
2
Medium Priority
?
238 Views
Last Modified: 2013-12-18
I am currently using a Lotus Notes program provided through the network at my workplace. Mainly it is used as our e-mail software, but it is also used to house different Lotus Notes databases. Currently I am trying to modify and existing templated discussion database for my special needs. I cannont figure out how to make fields madatory on an input form?
0
Comment
Question by:nBent
2 Comments
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 300 total points
ID: 6490387
The fields don't have any property like Mandatory = True, it should be programmed.

Notes fields contain various events and one of the event is INPUT VALIDATION, this event is fired whenever user exits out of the field. For eg: if you don't want anyone to exit out of the field without entering a value here is the formula to do that

@if( @trim(fld) = ""; @Failure("Field Name cannot be null"); @Success)

What it actually does is it checks the current field called 'fld' for null by trimming the value, if it is true then failure condition is raised or else success condition is raised.

If the user doesn't get to this field and tries to save before that then the form resfresh will fire this event on recalculate.

Hope it is clear

~Hemanth
0
 

Author Comment

by:nBent
ID: 6491307
Thanks, this worked like a charm when trying to save the document. I would like it to flag the inputter when trying to exit the field within the form. Anyway it still serves the ultimate purpose, and will save me a lot of time in the end. Thank you very much for help.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question