: 4400 | 106119 | 11884

Field Property "mandatory field" 
Use this IdeaSpace to post ideas about Domino Designer.

: 18
: 25
: 7
: Domino Designer
: property
: Ulrich Krause4845 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 Lindsay686 (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 Davis1734 (08 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 Janssen4993 (08 Dec 2007)
I like the general idea, but have something more radical in mind.
4) Andrew Pollack2904 (10 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 Meliantrop3228 (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 Lindsay686 (12 Dec 2007)
Even better (if you just want a boolean, which is all a "must not be blank" property would provide):

@ThisValue != ""










:
:

Welcome to IdeaJam™


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

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>


4
Add server and database as optional parameters for @GetProfileField and @SetProfileField
8
Have an option to copy an URL from an e-mail (or other)
-1
System wide Web Query Save
0
Design Element PostSave event
56
Please update Domino to fully support TLS (SSL v3.1)
4
Integrated ICS OneUI Editor for Designer
6
Agent context menu in editor tab eg. "Run Agent"
55
When deleting user, delete archive & roaming files as well as mail file
12
Set properties for all selected Forms







IdeaJam developed by