![]() |
Sergey Kornilov admin 5/7/2007 |
Easier solution - set maxlength parameter of Edit box to 9 characters. |
M
|
mrpeeble author 5/7/2007 |
I did that. Easier solution - set maxlength parameter of Edit box to 9 characters. |
L
|
larsonsc 5/7/2007 |
I think you could use a BeforeRecordAdd event to do this if strlen($values[FieldName]) != 9 {
|
![]() |
Sergey Kornilov admin 5/7/2007 |
In general this code is correct. Just a couple of minor fixes. if (strlen($values["FieldName"]) != 9) |
L
|
larsonsc 5/7/2007 |
Well I was close. ;-) Thanks for the fix-up. |
M
|
mrpeeble author 5/8/2007 |
Well I was close. ;-) Thanks for the fix-up.
|
L
|
larsonsc 5/8/2007 |
If you get the message box function working, could you please share the code with me? I would much prefer to have my error messages like this pop up in a message box rather than text at the top of the screen. I'd appreciate the help if you could share the code once you get it working! Thanks! |
M
|
mrpeeble author 2/11/2008 |
If you get the message box function working, could you please share the code with me? I would much prefer to have my error messages like this pop up in a message box rather than text at the top of the screen. I'd appreciate the help if you could share the code once you get it working! Thanks!
|