: 3492 | 87812 | 9797

Field Property "mandatory field" 
Now Available: "The Social Software Platform You Already Own" Position Paper from Elguji Software. A must read for every IBM Lotus Software customer.
Use this IdeaSpace to post ideas about Domino Designer.

: 18
: 25
: 7
: Domino Designer
: property
: Ulrich Krause 07 Dec 2007
:
: / Email
I wish, IBM would add a "mandantory field" property for editable fields.
A lot of code is written in the past to check, if a field contains any value and raise a warning message to the user if not. There are solutions in @formula and script all over the web. This indicates, that we really need such a property ...
So why not add this property as a core feature to Lotus Notes/Domino?
 



1) Grant Lindsay (07 Dec 2007)
I am voting this down because "mandatory" doesn't always mean "non-blank". I both like and need the flexibility of the Input Validation formula (or QuerySave event) to do deeper checking for validity.

For example, imagine a form with two fields:

Any new Do-Dads?: [radio: Yes, No]
If, Yes, how many? [number]

The number field need be filled in only if the radio button is set to "Yes", otherwise, it can be blank (or, perhaps, MUST be blank...)

The point is, a simple "mandatory property" doesn't address this situation.

After all, how hard is this to write?: @If( @ThisValue = ""; @False; @True )

-- Grant
2) Corey Davis (07 Dec 2007)
@1 Yes, sometimes you do need a deeper level of validation checking, but many times you just want to make sure that the user checks a box or enters something -- anything! -- into a field. In that case, this idea is very useful and not only makes life easier. In cases such as your example were a deeper level of validation would be required then do not flag the field as mandatory and do the normal validation checking in QuerySave or wherever.
3) Axel Janssen (08 Dec 2007)
I like the general idea, but have something more radical in mind.
4) Andrew Pollack (09 Dec 2007)
lol. Why? From notes version 2.0; validation formula. @IF(fieldname !=""; @Success; @Failure("You must enter a value in this field"));
5) Harkpabst Meliantrop (10 Dec 2007)
Lol, Andrew. Did you really think that the great Eknori didn't know that? Did you really get the point that, writing and customizing this message for every single field is just what he would like to get rid of? Did you read Grant's comment, who at least used @ThisValue to make code a little more portable?

Personally, I don't think that this feature would be too useful for me, it just inspired me to a new idea ...
6) Grant Lindsay (11 Dec 2007)
Even better (if you just want a boolean, which is all a "must not be blank" property would provide):

@ThisValue != ""










:
:

Buy IdeaJam Today!


You can run IdeaJam in your company. It's easy to install, setup and customize and your employees and customers will immediately see results.

Phone: +1 (360) 450-5022

Email: sales@elguji.com

Learn more >>

Welcome to IdeaJam


IdeaJam is a place where people can post and share their ideas, and gauge the marketability, popularity and viability with input from others.

When an idea gets posted, others can help promote or demote the idea and provide comments. Popular ideas will bubble to the top.

Make your opinion count.

Share


Post your idea - from ways we can improve IBM Lotus Software to things we've haven't even yet thought of.

Vote


Check out other people's ideas and vote on the ones you like best. The community votes. The community decides.


Discuss


Talk about ideas with your peers in the IBM Lotus Community and help make them even better.



4
ideajam ideas - Lotusphere
-5
Make Ideajam database as default application on domino
18
All Design Elements view in Designer
0
Create an AppStore for $1.99 apps
13
Symphony API integration in Agents
5
In the view-quick-search dialog, there should an "advanced search" option to find a document in the current view based on the NoteID or UNID
8
Standardize Definition of Application
12
Cleanup process for mystery problems
3
DDM could benefit from addng Twitter or SMS to Notifications
15
license model for universities and schools (education)
4
Dogear: Plugin for many browsers to store bookmark in dogear
8
Give Domino an up-to-date Servlet Engine
13
Admin Client - Server Console
9
Notes Calendar - Show Calendars
12
I wish FilePath would consistently return a relative path whenever possible
26
Select Category option in Views to tick all documents within a category and sub-categories
11
Calendar overlay: documentation how to overlay application calendar
6
inbox: newest first
7
Lotus Script: record call history for for informative debugging
8
Feed Readers page for Domino
17
Get Rid of "Copy as Table" in instances where it doesn't work
16
Expose the SPR database to customers so others can easily get added to the request
10
Multi value core control







IdeaJam developed by




Hosting by