A
|
andrewrnd 9/5/2006 |
Hi if (!strncmp($errstr,"Duplicate entry",strlen("Duplicate entry")))
global $strSQL; |
M
|
marduk author 9/5/2006 |
Thank you for the reply. |
A
|
andrewrnd 9/5/2006 |
There are two ways to make these changes permanent: |
T
|
thesofa 9/6/2006 |
Greetings, I am new in PHPRunner and find it great. However, I cannot find how to handle user errors and display custom messages. For example, I have a unique index for two column in a table. When the user violates this rule they get the following PHP error happened
function BeforeAdd(&$values)
|
D
|
drh 9/14/2006 |
Hey sofa, |
J
|
Jane 9/15/2006 |
Dave, |
D
|
drh 9/15/2006 |
Thanks for the response Jane.
|
![]() |
kujox 9/15/2006 |
you can save your entered values to use postvalue("editid") as default value on the Edit format dialog on the Formatting tab. Use postvalue("editid") for the first field, postvalue("editid2") for the second field etc.
|
![]() |
Sergey Kornilov admin 9/15/2006 |
In PHPRunner 3.1 use postvalue("value_fieldname") as a Default value. Replace fieldname with the actual field name. |
D
|
drh 9/18/2006 |
Hello forum, |
![]() |
Alexey admin 9/19/2006 |
Dave, postvalue("value0") postvalue("value1") ... |
D
|
drh 9/19/2006 |
Thanks Alexey, |
![]() |
Sergey Kornilov admin 9/21/2006 |
Dave, |
D
|
drh 9/22/2006 |
Thanks Sergey, |
![]() |
Alexey admin 9/25/2006 |
Dave, |