Unique value check upon submit
Dennis Fung
Yeni Üye
Posts: 4
10 yıl 1 gün önce #537
Yazan: Dennis Fung
Unique value check upon submit, Dennis Fung tarafından oluşturuldu
Hi,
I am new to CC. I would like to know it is possible to create a field with Unique value.
I love the "Make field required" option. Is there a way for "Make field unique'.
Thanks,
Dennis
I am new to CC. I would like to know it is possible to create a field with Unique value.
I love the "Make field required" option. Is there a way for "Make field unique'.
Thanks,
Dennis
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
David Villena
Sorumlu
Posts: 6
10 yıl 2 saat önce #541
Yazan: David Villena
David Villena tarafından Unique value check upon submit konusunda yanıtlandı
Hi Dennis,
Unfortunately we don't have that option when adding a table field on Component Creator. You'll have to use a DB manager, as phpMyAdmin or similar, to add any key or index to a table.
Regards,
David.
Unfortunately we don't have that option when adding a table field on Component Creator. You'll have to use a DB manager, as phpMyAdmin or similar, to add any key or index to a table.
Regards,
David.
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Dennis Fung
Yeni Üye
Posts: 4
9 yıl 11 ay önce #542
Yazan: Dennis Fung
Dennis Fung tarafından Unique value check upon submit konusunda yanıtlandı
Hi,
Thanks for your confirmation. I managed to used the phpMyAdmin to change the field to unique key which avoid user to save the similar data twice.
However, shall above scenario happen, Component Creator is showing the SQL error message. Anyway I can change this error message to more user friendly message, such as "this data is in used."
Thanks,
Dennis
Thanks for your confirmation. I managed to used the phpMyAdmin to change the field to unique key which avoid user to save the similar data twice.
However, shall above scenario happen, Component Creator is showing the SQL error message. Anyway I can change this error message to more user friendly message, such as "this data is in used."
Thanks,
Dennis
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Sayfa oluşturma süresi: 0.050 saniye