Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
52667901
Unverified
Commit
52667901
authored
Jun 01, 2021
by
Gabriel Antônio da Silva
Committed by
GitHub
Jun 01, 2021
Browse files
Merge pull request #103 from Gabriel-31415/master
Ajuste em rg
parents
a1caf480
1ea62356
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/evento/submeterTrabalho.blade.php
View file @
52667901
...
...
@@ -450,7 +450,7 @@
buttonMais
.
addEventListener
(
"click"
,
(
e
)
=>
{
// console.log("{{ $edital->numParticipantes }}")
if
(
parts
.
children
.
length
-
1
>=
"{{
$edital->numParticipantes
}}"
){
if
(
parts
.
children
.
length
>=
"{{
$edital->numParticipantes
}}"
){
alert
(
'Limite de participante.'
)
}
else
{
var
cln
=
participante
.
cloneNode
(
true
);
...
...
@@ -461,7 +461,7 @@
let
input
=
cln
.
children
[
i
]
.
querySelectorAll
(
'input'
)[
index
];
let
name
=
input
.
getAttributeNode
(
"name"
)
.
value
;
input
.
getAttributeNode
(
"name"
)
.
value
=
name
+
'['
+
contador
+
']'
;
input
.
getAttributeNode
(
"disabled"
)
.
value
=
" "
;
//
input.getAttributeNode("disabled").value = " ";
let
select
=
cln
.
children
[
i
]
.
querySelectorAll
(
'select'
)[
index
];
if
(
select
){
let
selectName
=
select
.
getAttributeNode
(
"name"
)
.
value
;
...
...
@@ -563,6 +563,10 @@
required
:
true
,
alpha
:
true
,
},
'rg[]'
:
{
required
:
true
,
maxlength
:
8
,
},
agree
:
"required"
},
...
...
@@ -571,7 +575,10 @@
'emailParticipante[]'
:
"Este campo é obrigatório."
,
'data_de_nascimento[]'
:
"Este campo é obrigatório."
,
'cpf[]'
:
"Este campo é obrigatório."
,
'rg[]'
:
"Este campo é obrigatório."
,
'rg[]'
:
{
required
:
"Este campo é obrigatório."
,
maxlength
:
"Este campo deve conter no máximo 8 números."
},
'celular[]'
:
"Este campo é obrigatório."
,
'cep[]'
:
"Este campo é obrigatório."
,
'uf[]'
:
"Este campo é obrigatório."
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment