Date UNIQUE filed - duplicate error page

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
fciprian
Veteran Member
Posts: 52
Joined: 2020-04-20 10:51

Date UNIQUE filed - duplicate error page

Post by fciprian » 2020-04-22 12:54

Hello.

I have an Data field (date and unique - as settings in AppGini).
I need data to be unique. So, when i enter the same data as is already was entered i got a white page (without header footer etc) with :
Duplicate entry '2020-04-22' for key 'data3 and a Back button.
The Back button dosen t work. And i want to have a nice DENY page that users recive a friendly mesage like : "The DATA was already stored" and a functional Back button.

Anyone had same problem?

Thank you!

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1638
Joined: 2018-04-01 10:12

Re: Date UNIQUE filed - duplicate error page

Post by pbottcher » 2020-04-22 18:37

Hi,

have a look at

viewtopic.php?f=7&t=1740&p=10871#p10906

hope that helps
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

Post Reply