How about disabling the button until all values are OK. This when you enter a
variable or field on form disable and when you exit enable only if pass.
Regards
Chuck
Chuck Miller Voice: (617)
Peter,
How about adding a hidden button to trap for Enter key strokes?
I run all my active objects into a single project method (the 'form
controller' I like to talk about). So I'd have that button call the form
controller and handle the save code the same way the normal save event
would process.
Does FILTER EVENT work in this context?
Or REJECT(field) as someone has already suggested.
Best regards
Keith White
Synergist Express Ltd, UK
**
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive:
Hi Peter,
Are you using the REJECT([table]field) command? Using the field parameter?
This should prevent any other object method/form method/automatic action to run.
HTH
Koen
Op 18-mei-2017, om 15:56 heeft Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
het volgende geschreven:
>> I think I
don't revert the 'Bad" value.
Enter : 9
hit
On data change : - Alert("The value you entered '9' is invalid.")
Goto object(whateveritis called)
On Save :
Test for bad value(s) - find bad value (from above)
Reject
reset to good value, or clear
On Thu, 18 May 2017 11:29:34 +0200, Peter
On Thu, 18 May 2017 03:51:46 +0200, Peter Jakobsson via 4D_Tech wrote:
> Hi
>
> I rarely come across this problem.
>
> Lets say you have a field with an “On Data Change” object method
> which does field level validation that rejects an entry.
>
> Lets says the form has a default button and
On 18 May 2017, at 05:50, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Get rid of the auto save action. Then you can handle what ever situations you
> need to. We have not used auto action buttons for 25 years.
Hi Jody
I have actually done that. It isn’t the problem here though - the
Peter.
Get rid of the auto save action. Then you can handle what ever situations you
need to. We have not used auto action buttons for 25 years.
Sincerely
Jody Bevan
> On May 17, 2017, at 19:51, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> Hi
>
> I rarely come across this
Hi
I rarely come across this problem.
Lets say you have a field with an “On Data Change” object method which does
field level validation that rejects an entry.
Lets says the form has a default button and the user clicked the “Big Enter”
key (on the numeric keypad) which invokes a ‘save’
9 matches
Mail list logo