[SOLVED] Â Event to check if date value exists before add |
11/14/2017 21:22:36 | |
| PHPRunner General questions | ||
|
Hi Guys,
|
||
|
|
romaldus 11/14/2017 |
|
Why don't you use "prevent duplicate values" option in visual editor? |
|
|
|
woodey2002 author 11/15/2017 |
|
Great Romaldus, that worked perfect. |
|
|
|
woodey2002 author 11/15/2017 |
|
Sorry Guys |
|
|
|
romaldus 11/16/2017 |
|
Of course it is easy to check this using before record added event but there is also an easier way. In your table, make sure date field is not a primary key. Than, create unique index contains username and date field. |
|
|
|
woodey2002 author 11/17/2017 |
|
Many thanks once again Romaldus! |
|