modified validation rules

This commit was merged in pull request #239.
This commit is contained in:
2023-07-03 20:13:45 +01:00
parent 7abf4fb7f7
commit ecfef0d6e1
2 changed files with 8 additions and 6 deletions
@@ -126,7 +126,9 @@ const inputConfigs = {
province: { minLength: 3, maxLength: 25, pattern: "[a-zA-Z]+" },
city: { minLength: 3, maxLength: 25, pattern: "[a-zA-Z]+" },
amount: { minLength: 1, maxLength: 9, pattern: "[0-9]+" },
description: { minLength: 5, maxLength: 250 },
description: { minLength: 5, maxLength: 299 },
title: { minLength: 5, maxLength: 149 },
job_detail: { minLength: 4, maxLength: 1440 }
};
/* Numbers Only: <input type="text" pattern="[0-9]*" /> strictly numbers