Field's attribute
Set or remove a field's regular attribute⚓
Concept⚓
Field's attributes enable to change the way your fields behave in your application. You can limit the values of your fields or define a number of characters, make it visible or hidden in the lists.
List of the available attributes : attributes HTML
ExempleEnglish⚓
set field FieldName with attribute NameAttribute = (attribute value)
ComplémentExample⚓
set field MyTeam with attribute maxlength = 6
ExempleFrench⚓
ajouter sur le champ NomDuChamps l'attribut NomAttribut = (valeur attribut)
ComplémentExample⚓
ajouter sur le champ MonEquipe l'attribut maxlength = 6
Set or remove a field's complex attribute⚓
Concept⚓
Complex attributes allow you to set up advanced controls on the fields of an entity. There are four complex attributes that can be applied within the generator:
obligatoire/required
optionnel/optional
unique
not-unique/non-unique
ExempleEnglish⚓
set field FieldName required
ComplémentExample⚓
set field MyTeam required
set field MyTeam optional
set field MyTeam unique
set field MyTeam not-unique
ExempleFrench⚓
rendre (le) champ NomDuChamps obligatoire
ComplémentExample⚓
rendre le champ MonEquipe obligatoire
rendre le champ MonEquipe optionnel
rendre le champ MonEquipe unique
rendre le champ MonEquipe non-unique