Creating Unique Keys on forms Unique Key is a field that can’t have repeated values on the table. In general, the same value in on register can’t repeat itself when this field is indicated as a Unique Key. On Scriptcase, you can easily configure these items using the configuration of a form, for example. To make this configuration is very simple.

Accessing the properties of the form, select the option “Unique Key”.

unique key 1

On the screen that’ll open, you can select which fields will be utilized and validate as Unique Key.

unique key 2

unique key 3

 Now that the fields are selected, the process becomes very simple. Every time that a determined value is inserted on this fields and this value already exists on the table where the data will be stored, a message will appear and it will not allow the insertion of a record with duplicated information.

Make the test and configure this option in a form. Using it you’ll avoid problems related to duplicate registers, for example, so this way you guarantee much more quality to your application.

You might also like…

PROCESAMIENTO AJAX EN SCRIPTCASE

Ajax en los formularios de Scriptcase puede usarse para recargar un campo de tipo de select basado e...

IMPORTAR IMAGENES DE LA BASE DE DATOS Y UTILIZAR CLASES DE BOOSTRAP

Como muchas personas ya saben, Bootstrap es una biblioteca de front-end libre y de código abierto p...

TENDENCIAS DE DESARROLLO WEB PARA 2017

Usted verá en este post tendencias para 2017 en Diseño Web, en el medio digital y en el desarrollo...

Comment this post

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.