[Hx] In the ensuing silence…

3 views
Skip to first unread message

Gib Henry

unread,
Nov 13, 2012, 2:23:18 PM11/13/12
to Helix Discussion List
…I'll ask a question:  How can I make a field validation tentative?

I want to validate, but I also want to be able to override.  For example, I want to question any financial entry with a date that isn't in the current year; however, in the first couple of weeks of the year, I will very likely make entries for the previous month (and year).

One idea I've tried is to place a field nearby which has an abacus that prints out in bold red when something is questionable, but doesn't prevent it.  The problem is that sometimes I'm going likety-split, when the errors are most likely to occur, and press Enter automatically before reacting to the red message.  A Y-message would prevent that, but also makes it impossible to enter the intentionally old date.  Is there a good compromise?  Cheers,
--
Gib

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

You received this message because you are subscribed to the mailing list <Hel...@realpeople.com>.  To unsubscribe, e-mail <Helix...@realpeople.com>; to switch to DIGEST mode, e-mail <Helix-L...@realpeople.com>; contact a human being at <Helix-L...@realpeople.com>.  Google archive since 20 August 2006:  http://groups.google.com/group/helix-l.  Basic archive since 1 Jan 2006:  http://mail.realpeople.com:8100/Lists/Helix-L/List.html

Greg Morin

unread,
Nov 13, 2012, 2:32:37 PM11/13/12
to Helix Discussion List

On Nov 13, 2012, at 14:23 , Gib Henry <g...@realpeople.com> wrote:

> …I'll ask a question: How can I make a field validation tentative?
>
> Is there a good compromise?


I use an "override" checkbox (flag field) in those situations and incorporate its value into the validation ... and if you want to get real fancy you can alter the value of the override field by an Option 0 post only IF that user should not be authorized to change it (using a "permissions" table per user that is referenced in the Global-Users relation) (e.g. the post sets the value back to FALSE for override if the user is not authorized to make the change)

Greg


Gregory Morin, Ph.D. ~~~~~~~Chairman/CEO~~~~~~~~~~~~~~
Seachem Laboratories, Inc. www.seachem.com 888-SEACHEM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Gib Henry

unread,
Nov 13, 2012, 3:16:13 PM11/13/12
to Helix Discussion List
Wow!  Evidently great minds think alike!  Thanks to each of you, and I'll look forward to doing it in in the new template icon!  (Okay, just kidding; it's back to Classic for me.)  Cheers,
--
Gib

On 11/13/12 1:23 PM, Gib Henry wrote:
…I'll ask a question:  How can I make a field validation tentative?

I want to validate, but I also want to be able to override.  For example, I want to question any financial entry with a date that isn't in the current year; however, in the first couple of weeks of the year, I will very likely make entries for the previous month (and year).

One idea I've tried is to place a field nearby which has an abacus that prints out in bold red when something is questionable, but doesn't prevent it.  The problem is that sometimes I'm going likety-split, when the errors are most likely to occur, and press Enter automatically before reacting to the red message.  A Y-message would prevent that, but also makes it impossible to enter the intentionally old date.  Is there a good compromise?  Cheers,
--
Gib

Lenny Eiger

unread,
Nov 13, 2012, 3:00:32 PM11/13/12
to Helix Discussion List
Use a confirm dialog. Set up a field in a user global that is for an over ride.... Then use a conditional sequence to fire up a little window that asks if you really want to do that, use a post on that window to turn on the over ride switch. Turn it back off when the enter press on the main screen occurs.

Lenny
Reply all
Reply to author
Forward
0 new messages