Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LaMartin-Webomagic
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pratik Shrivastava
LaMartin-Webomagic
Commits
a30c2ef8
Commit
a30c2ef8
authored
Jun 30, 2024
by
Deep Dey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fix form-name issue
parent
a0785ca0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
lamartinFrontend/index.html
lamartinFrontend/index.html
+2
-2
lamartinFrontend/main.js
lamartinFrontend/main.js
+4
-2
No files found.
lamartinFrontend/index.html
View file @
a30c2ef8
...
@@ -87,8 +87,8 @@
...
@@ -87,8 +87,8 @@
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"communty"
>
Community
<span>
*
</span></label>
<label
for=
"commun
i
ty"
>
Community
<span>
*
</span></label>
<input
type=
"text"
name=
"communty"
class=
"form-control"
>
<input
type=
"text"
name=
"commun
i
ty"
class=
"form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
<small>
Socio- Linguistic community (eg Bengali, Punjabi, Marwari, Jain etc.)
</small>
<small>
Socio- Linguistic community (eg Bengali, Punjabi, Marwari, Jain etc.)
</small>
</div>
</div>
...
...
lamartinFrontend/main.js
View file @
a30c2ef8
...
@@ -78,7 +78,7 @@ $(document).ready(function () {
...
@@ -78,7 +78,7 @@ $(document).ready(function () {
nationality
:
'
required
'
,
nationality
:
'
required
'
,
religion
:
'
required
'
,
religion
:
'
required
'
,
motherTongue
:
'
required
'
,
motherTongue
:
'
required
'
,
communty
:
'
required
'
,
commun
i
ty
:
'
required
'
,
maritalStatus
:
'
required
'
,
maritalStatus
:
'
required
'
,
fatherName
:
'
required
'
,
fatherName
:
'
required
'
,
fatherEmail
:
'
required
'
,
fatherEmail
:
'
required
'
,
...
@@ -127,7 +127,7 @@ $(document).ready(function () {
...
@@ -127,7 +127,7 @@ $(document).ready(function () {
nationality
:
'
Please enter the nationality
'
,
nationality
:
'
Please enter the nationality
'
,
religion
:
'
Please enter the religion
'
,
religion
:
'
Please enter the religion
'
,
motherTongue
:
'
Please enter the mother tongue
'
,
motherTongue
:
'
Please enter the mother tongue
'
,
communty
:
'
Please specify the community
'
,
commun
i
ty
:
'
Please specify the community
'
,
maritalStatus
:
'
Please choose an option
'
,
maritalStatus
:
'
Please choose an option
'
,
fatherName
:
"
Please enter the father's name
"
,
fatherName
:
"
Please enter the father's name
"
,
fatherEmail
:
"
Please enter the father's email
"
,
fatherEmail
:
"
Please enter the father's email
"
,
...
@@ -197,8 +197,10 @@ $(document).ready(function () {
...
@@ -197,8 +197,10 @@ $(document).ready(function () {
if
(
xhr
.
responseText
)
{
if
(
xhr
.
responseText
)
{
var
errorMessage
=
JSON
.
parse
(
xhr
.
responseText
).
message
;
var
errorMessage
=
JSON
.
parse
(
xhr
.
responseText
).
message
;
console
.
error
(
'
Server Response:
'
,
errorMessage
);
console
.
error
(
'
Server Response:
'
,
errorMessage
);
alert
(
errorMessage
.
message
);
}
else
{
}
else
{
console
.
error
(
'
No response from server
'
);
console
.
error
(
'
No response from server
'
);
alert
(
'
No response from server
'
);
}
}
},
},
});
});
...
...
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