custom dialog and validation

This is a discussion on custom dialog and validation within the filemaker forums in Other Databases category; RANT only. WinXp, FMP 9.1 adv Why should the scriptstep: Show Custom Dialog > Input Fields NOT keep itself to the validation for the input field? I can set a field that is validated to contain numbers only to anything I want without warning. So now I have to extend the script to contain an errorchecking routine. -- Keep well / Hou je goed Ursus...

Go Back   Database Forum > Other Databases > filemaker

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-24-2008, 11:55 AM
Default custom dialog and validation

RANT only.

WinXp, FMP 9.1 adv

Why should the scriptstep: Show Custom Dialog > Input Fields NOT keep itself
to the validation for the input field?

I can set a field that is validated to contain numbers only to anything I
want without warning. So now I have to extend the script to contain an
errorchecking routine.

--
Keep well / Hou je goed

Ursus


Reply With Quote
  #2  
Old 08-24-2008, 02:04 PM
Default Re: custom dialog and validationX-Trace

On 2008-08-24 07:55:02 -0700, "Ursus" said:

> RANT only.
>
> WinXp, FMP 9.1 adv
>
> Why should the scriptstep: Show Custom Dialog > Input Fields NOT keep itself
> to the validation for the input field?
>
> I can set a field that is validated to contain numbers only to anything I
> want without warning. So now I have to extend the script to contain an
> errorchecking routine.


During a Custom Dialog, the data is not committed to the record until
you hit Button #1, and thus validation cannot take place while the
dialog is up. Validation SHOULD take place on commit of the record, I
haven't tested if this scripted insert over-rides the validation.
Usually scripted inserts or imports do over-ride validation.

If it does, you are correct, you need to error-check in your script.
Big pain. Trust me, though, if the validation were to occur in other
scripted-insert circumstances, you'd find that inconvenient too.

What I'd like to see is the ability to set validation on or off during
certain operations. Until that happens, I just do my own
error-checking and consider it a cost of using this particular tool.
--
Lynn Allen
--
www.semiotics.com
Member Filemaker Business Alliance
Long Beach, CA

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:34 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.