File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 161
161
if (document .getElementById (' titre' ).value .length < 8 ) {
162
162
document .getElementById (' titre' ).classList .add (' is-invalid' );
163
163
document .getElementById (' error_titre' ).innerHTML = " huit caractères minimum" ;
164
- } else if (document .getElementById (' titre' ).value .length > 60 ) {
164
+ } else if (document .getElementById (' titre' ).value .length > 100 ) {
165
165
document .getElementById (' titre' ).classList .add (' is-invalid' );
166
- document .getElementById (' error_titre' ).innerHTML = " pas plus de 60 caratères" ;
166
+ document .getElementById (' error_titre' ).innerHTML = " pas plus de 100 caratères" ;
167
167
} else if (regex .test (document .getElementById (' titre' ).value ) == false ) {
168
168
document .getElementById (' titre' ).classList .add (' is-invalid' );
169
169
document .getElementById (' error_titre' ).innerHTML = " caractères spéciaux non autorisés" ;
You can’t perform that action at this time.
0 commit comments