Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
Stefan Warnat
vtigercrm
Commits
a11a8fe1
Commit
a11a8fe1
authored
2 years ago
by
Prasad
Browse files
Options
Downloads
Patches
Plain Diff
Added input validation
parent
1e8c530c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
layouts/v7/modules/Install/Step6.tpl
+1
-1
1 addition, 1 deletion
layouts/v7/modules/Install/Step6.tpl
layouts/v7/modules/Install/resources/Index.js
+10
-0
10 additions, 0 deletions
layouts/v7/modules/Install/resources/Index.js
with
11 additions
and
1 deletion
layouts/v7/modules/Install/Step6.tpl
+
1
−
1
View file @
a11a8fe1
...
...
@@ -87,7 +87,7 @@
</tr>
<tr>
<td
colspan=
"2"
>
This information will not be shared. Vtiger will use the email address for sending a monthly newsletter and any product updates.
<br>
This information will not be shared. Vtiger will use the email address for sending a monthly newsletter and any product updates.
Industry will be used to understand use cases and further improve the product.
</td>
</tr>
...
...
This diff is collapsed.
Click to expand it.
layouts/v7/modules/Install/resources/Index.js
+
10
−
0
View file @
a11a8fe1
...
...
@@ -178,6 +178,16 @@ jQuery.Class('Install_Index_Js', {}, {
registerEventForStep6
:
function
()
{
jQuery
(
'
input[name="step7"]
'
).
on
(
'
click
'
,
function
()
{
var
username
=
jQuery
(
'
input[name="myname"]
'
).
val
();
if
(
username
.
length
<
1
)
{
alert
(
'
Please enter your name.
'
);
return
;
}
var
email
=
jQuery
(
'
input[name="myemail"]
'
).
val
();
if
(
email
.
length
<
1
)
{
alert
(
'
Please enter your email.
'
);
return
;
}
var
industry
=
jQuery
(
'
select[name="industry"]
'
).
val
();
if
(
industry
.
length
<
1
)
{
alert
(
'
Please select appropriate industry option.
'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment