| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| 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 |
|
#2
|
| On 2008-08-24 07:55:02 -0700, "Ursus" > 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 |
![]() |
| Thread Tools | |
| Display Modes | |