set your activity country
All checks were successful
Forgejo Release / release (push) Successful in 7m15s
All checks were successful
Forgejo Release / release (push) Successful in 7m15s
This commit is contained in:
parent
8b9a9103fc
commit
f992916d08
8 changed files with 5096 additions and 21 deletions
|
|
@ -23,7 +23,7 @@ namespace Yavsc.Models.Workflow
|
|||
public virtual List<UserActivity> Activity { get; set; }
|
||||
|
||||
[Required, Display(Name = "Country of exercise")]
|
||||
[MinLength(2), MaxLength(2)]
|
||||
[RegularExpression("^[A-Za-z]{2}$", ErrorMessage = "Country code must be a 2-letter code.")]
|
||||
public string ExerciseCountryCode { get; set; } = "fr";
|
||||
|
||||
[Required,YaStringLength(14),Display(Name="SIREN")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue