PageSourceSearch

https://aemforms.training/content/sandbox/en/login.html

html aemforms.training collected 2026-10-06 06:47:17 UTC 23,898 bytes, 605 lines download raw bytes

1
2<!DOCTYPE HTML>
3<html>
4    <head>
5    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
6    
7    
8    
9    
10    
11<link rel="stylesheet" href="/etc.clientlibs/foundation/clientlibs/main.css" type="text/css">
12<script src="/etc.clientlibs/clientlibs/granite/jquery.js"></script>
vendor: 1 bytes, line 12
12
13<script src="/etc.clientlibs/clientlibs/granite/utils.js"></script>
vendor: 1 bytes, line 13
13
14<script src="/etc.clientlibs/clientlibs/granite/jquery/granite.js"></script>
vendor: 1 bytes, line 14
14
15<script src="/etc.clientlibs/foundation/clientlibs/jquery.js"></script>
vendor: 1 bytes, line 15
15
16<script src="/etc.clientlibs/foundation/clientlibs/shared.js"></script>
vendor: 1 bytes, line 16
16
17<script src="/etc.clientlibs/foundation/clientlibs/main.js"></script>
17
18
19
20
21    
22    
23
24    
25
26
27
28    
29<link rel="stylesheet" href="/libs/wcm/foundation/components/page/responsive.css" type="text/css">
30<link rel="stylesheet" href="/etc.clientlibs/sandbox/clientlibs/clientlib-base.css" type="text/css">
31<link rel="stylesheet" href="/apps/sandbox/clientlibs/clientlib.css" type="text/css">
32
33
34
35
36
37
38
39
40    
41
42    
43
44    
45
46    
47    <title>Login</title>
48</head>
49    <body><html>
50    <head>
51    	<!--Reference js and CSS-->
52
53		
54
55
56
57
58		
59    
60<script src="/apps/sandbox/clientlibs/clientlib.js"></script>
60
61
62
63
64    	
65    
66
67
68
69
70		<!--Mobile adaptive-->
71    	<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
72    </head>
73
74    <body class="body">
75
76    	<!--header-->
77        <div class="header aem-GridColumn aem-GridColumn--default--12"><div><div>
78    <div id="newtopnav" class="newtopnav">
79		<ul class="menuItems" id="menuItems"> 
80        <li> 
81            <a href="/content/sandbox/en/home.html" id="Home">Home</a> 
82
83        <ul class="ntnsubs tsubnav dropdown-content">
84        <li class="curbtn_style">
85            <a href="/content/sandbox/en/home/thankyou.html" id="Thank you">Thank you</a> </li>
86        </ul>
87            
88
89			</li>
90		 
91        <li> 
92            <a href="/content/sandbox/en/public.html" id="Public">Public</a> 
93
94        <ul class="ntnsubs tsubnav dropdown-content">
95        <li class="curbtn_style">
96            <a href="/content/sandbox/en/public/known-issues.html" id="Known Issues">Known Issues</a> </li>
97        
98        <li class="curbtn_style">
99            <a href="/content/sandbox/en/public/sandbox.html" id="Sandbox Servers">Sandbox Servers</a> </li>
100        
101        <li class="curbtn_style">
102            <a href="/content/sandbox/en/public/live-classes.html" id="Live Classes">Live Classes</a> </li>
103        
104        <li class="curbtn_style">
105            <a href="/content/sandbox/en/public/subscribe.html" id="Subscribe">Subscribe</a> </li>
106        
107        <li class="curbtn_style">
108            <a href="/content/sandbox/en/public/designer.html" id="Designer Demo">Designer Demo</a> </li>
109        
110        <li class="curbtn_style">
111            <a href="/content/sandbox/en/public/automated-forms-conversion.html" id="Automated Forms Conversion">Automated Forms Conversion</a> </li>
112        
113        <li class="curbtn_style">
114            <a href="/content/sandbox/en/public/adobe-certification.html" id="Adobe Certification">Adobe Certification</a> </li>
115        
116        <li class="curbtn_style">
117            <a href="/content/sandbox/en/public/certificates.html" id="Certificates">Certificates</a> </li>
118        
119        <li class="curbtn_style">
120            <a href="/content/sandbox/en/public/offer-in-compromise.html" id="Offer In Compromise">Offer In Compromise</a> </li>
121        </ul>
122            
123
124			</li>
125		 
126        <li> 
127            <a href="/content/sandbox/en/forum.html" id="Forum">Forum</a> 
128
129        
130            
131
132			</li>
133		</ul>
134    	<div class="accountButton">
135
136
137
138
139
140
141
142
143
144<script type="text/javascript">
145    function userSettingn() {
146        window.location = "/content/sandbox/en/login/user-settings.html";
147    }
148</script>
148
149
150		<div id="divLoginUser" class="dropdown">
151            
152  			<button class="dropbtn"></button>
153            <input type="hidden" id="curLogin" name="curLogin" value="0" />
154            <input type="hidden" id="accountEmail" name="accountEmail" value="" />
155            <input type="hidden" id="accountFirstName" name="accountFirstName" value="" />
156            <input type="hidden" id="accountLastName" name="accountLastName" value="" />
157            <input type="hidden" id="accountPwd" name="accountPwd" value="" />
158            <input type="hidden" id="accountCompany" name="accountCompany" value="" />
159            <input type="hidden" id="accountCS" name="accountCS" value="0" />
160            <!--<br/><button></button>-->
161  			<div class="dropdown-content">
162				<form class="logout_form" name="logout_form" id="logout_form">
163					<div class="curbtn_style">
164                        <input class="logoutButton" name="btnSetting" onclick="userSettingn();" value="Settings"/>
165                        <input class="logoutButton" name="btnLogout" onclick="logout();" type="submit" value="Logout"/>
166                    	<input class="logoutAction" name="logoutAction" id="logoutAction" type="hidden"/>
167                    </div>    			
168				</form>
169  			</div>
170		</div>
171
172
173</div>
174    </div>
175    <div id="displayTag" style="display:none">none</div>
176    <div id="currentPageTitleTag" style="display:none">Login</div>
177</div>
178 <div id="smartdocPro81" style="display:none; position:fixed; top:30%;left:30%;z-index:9999;"><img src="/content/dam/sandbox/8-1.gif" alt="load..."/></div></div>
179<!--logo
180<div class="logo"><img src="/content/dam/sdcloud/aem-forms-training-logo.png"/></div>
181<div class="aemFormsTrainingLogo"> AEMFORMS.TRAINING </div>
182
183<div data-sly-resource="headerLogo"></div>
184-->
185
186<!--navigation-->
187<!--<div data-sly-resource="newTopNav"></div>-->
188
189
190
191<!-- <div data-sly-resource="loginChecker"></div> --></div>
192
193    	<!--content-->
194        <div class="content">   
195
196            <div class="content_main grid_12">
197
198
199<div class="aem-Grid aem-Grid--12 aem-Grid--default--12 ">
200    
201    <div class="image parbase aem-GridColumn aem-GridColumn--default--12"><div id="cq-image-jsp-/content/sandbox/en/login/jcr:content/content/image"><img src="/content/sandbox/en/login/_jcr_content/content/image.img.png/1767836808182.png" alt="login-beauty" title="login-beauty" class="cq-dd-image"></div>
202    
203    
204<script type="text/javascript">
205    (function() {
206        var imageDiv = document.getElementById("cq\u002Dimage\u002Djsp\u002D\/content\/sandbox\/en\/login\/jcr:content\/content\/image");
207        var imageEvars = '{ imageLink: "", imageAsset: "/content/dam/sandbox/public/login-beauty.png", imageTitle: "login\u002Dbeauty" }';
208        var tagNodes = imageDiv.getElementsByTagName('A');
209        for (var i = 0; i < tagNodes.length; i++) {
210            var link = tagNodes.item(i); 
211            link.setAttribute('onclick', 'CQ_Analytics.record({event: "imageClick", values: ' + imageEvars + ', collect: false, options: { obj: this }, componentPath: "foundation\/components\/image"})');
212        }
213        
214    })();
215</script>
215
216
217</div>
218<div class="login parbase aem-GridColumn aem-GridColumn--default--12">
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246   
247
248        <div class="cookieinfo" id="cookieinfoDiv">
249                    <p class="fs-body2 fw-bold mb4">
250                        Your privacy
251                    </p>
252                    <p class="cookietxt" id="cookiesnotenable" style="display:none;">
253                        cookies not enabled!
254                    </p>
255                    <p class="cookietxt">
256                        By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device.
257                        This cookie policy only relates to your use of our websites.
258                    </p>
259                    <div class="">
260                        <button class="cookiebtn" id="cookiebtn" onclick="acceptcks(this);">
261                            Accept all cookies
262                        </button>
263                    </div>
264                </div>
265
266
267
268<div>
269
270
271    
271<script type="text/javascript">
272        var guideBridge;
273        $(document).ready(function () {
274            //errorMessage
275            var logFlag = document.getElementById("curLogin").value;
276            //alert(logFlag);
277            document.getElementById("errorMessage").innerHTML = "";
278            document.getElementById("warningMessage").innerHTML = "";
279            $('#lgimsg').hide();
280            if(logFlag == "no"){
281                document.getElementById("errorMessage").innerHTML = "Invalid Credentials";
282                $('#lgimsg').show();
283            }else if(logFlag == "fp"){
284                document.getElementById("warningMessage").innerHTML = "Your password had been sent to your email address.";
285                $('#lgimsg').show();
286            }else if(logFlag == "nf"){
287                document.getElementById("errorMessage").innerHTML = 'Sorry, those credentials are not valid. Your user name is your email address, and you can email us at <a href="mailto:[email protected]">[email protected]</a> to retrieve your current password.';
288                $('#lgimsg').show();
289            }
290
291if (navigator.cookieEnabled === false)
292{
293    $('#cookiesnotenable').show();
294    //alert("Error: cookies not enabled!");
295}
296            if(window.localStorage){
297var cookie_act = localStorage.getItem("sandboxacceptcookie"); 
298if(cookie_act ==1){
299    $('#cookieinfoDiv').hide();
300}
301}
302
303
304         });
305
306        function login(){
307            var username = document.getElementById("email").value; 
308            var password = document.getElementById("password").value;
309            if (username == "" || username == null) {                                              
310                document.getElementById("errorMessage").innerHTML = "Username is not allowed to be empty!";
311                $('#lgimsg').show();
312            } else if(password == "" || password == null) {
313                document.getElementById("errorMessage").innerHTML = "Password is not allowed to be empty!";
314                $('#lgimsg').show();
315            } else {
316                document.getElementById("loginStatus").value = "OK";
317                document.getElementById("login_form").submit();
318                //loginPost(username, password);
319            }
320        }
321
322               function acceptcks(sender) {
323            if (window.localStorage) {
324                localStorage.setItem("sandboxacceptcookie", 1);
325            }
326            $('#txtAcceptCookie').val(1);
327            $('#cookieinfoDiv').hide();
328        }
329
330        function getQueryString(name) {
331    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
332    var r = window.location.search.substr(1).match(reg);
333    if (r != null) return unescape(r[2]);
334    return null;
335}
336
337        function ajaxDoLogin(){
338            $('#lgimsg').hide();
339                        document.getElementById("warningMessage").innerHTML = '';
340            document.getElementById("errorMessage").innerHTML = "";
341            var username = document.getElementById("email").value; 
342            var password = document.getElementById("password").value;
343            if (username == "" || username == null) {                                              
344                document.getElementById("errorMessage").innerHTML = "Username is not allowed to be empty!";
345            } else if(password == "" || password == null) {
346                document.getElementById("errorMessage").innerHTML = "Password is not allowed to be empty!";
347            } else {
348            	var cookie_actStr ="";
349            	if(window.localStorage){
350            		cookie_actStr =localStorage.getItem("sandboxacceptcookie"); 
351            	}
352            	else{
353            		cookie_actStr=	$('#txtAcceptCookie').val();
354            	}
355            	if(!cookie_actStr){
356            		cookie_actStr="";
357            	}
358				var datastr = "email=" + username + "&pwd=" + password + "&pgId=1"+"&act="+cookie_actStr;
359                //alert(datastr);
360                $.ajax({
361                    url: '/libs/sandboxbundle/structure/AjaxUserLogin.servlet',
362                    data: datastr,
363                    success: function (responseText) {
364                        //alert(responseText);
365                        var retObj=$.parseJSON(responseText);
366                        var curtxt = retObj.t;
367                        var displayTxt="";
368                        //alert(curtxt);
369                        if(curtxt == "Yes"){
370                        	displayTxt="";
371                            //window.location.href = '/content/sandbox/en/home.html';
372					                                   if (getQueryString('f') == 'forum') {
373                                            window.location.href = '/content/sandbox/en/forum.html';
374                                        } else {
375                                            window.location.href = '/content/sandbox/en/home.html';
376                                        }                           
377
378                        }
379                        else {
380                         	if (curtxt == "No" || curtxt == "No Rights") {
381                            	displayTxt= 'Incorrect password <a style="text-decoration:underline;" onclick="ajaxForgotPwd()"> Forgot Password?</a>';
382                                //document.getElementById("errorMessage").innerHTML =
383                            } else if (curtxt == "Not Find") {
384                            	displayTxt= 'Sorry, those credentials are not valid. Your user name is your email address, and you can email us at <a href="mailto:[email protected]">[email protected]</a> to retrieve your current password.';
385                                //document.getElementById("errorMessage").innerHTML =
386                            }else if("nosubscribers"==curtxt){
387                            	displayTxt=  "Only subscribers can login";
388                    //document.getElementById("errorMessage").innerHTML =
389                            }
390                            else{
391                            	displayTxt= "Invalid Credentials";
392                                //document.getElementById("errorMessage").innerHTML 
393                            }
394                        	if(retObj.s==1){
395                        		displayTxt='Sorry, those credentials are not valid. Your user name is your email address, and you can email us at <a href="mailto:[email protected]">[email protected]</a> to retrieve your current password.';
396                        	}else if(retObj.s==2){
397                          		displayTxt='We would love for you to join us again, but unfortunately your SmartDoc Subscription has lapsed. Email us at <a href="mailto:[email protected]">[email protected]</a> for the simple steps to rejoin the world’s largest online community of AEM Forms experts and once again have access to the premier online AEM Forms training.';
398                        	}else if(retObj.s==3){
399                          		displayTxt='We would love for you to join us as a SmartDoc Subscriber! Email us at <a href="mailto:[email protected]">[email protected]</a> for the simple steps to join the world’s largest online community of AEM Forms experts and gain access to the premier online AEM Forms training.';
400                        	}
401                        }
402                        document.getElementById("errorMessage").innerHTML =displayTxt;
403                        $('#lgimsg').show();
404                    }
405                });
406
407            }
408        }
409
410        function createNew(){
411            //document.getElementById("loginStatus").value = "New";
412            //document.getElementById("login_form").submit();
413            window.location.href = '/content/sandbox/en/login/createaccount.html';
414        }
415
416        function forgotPwd(){
417            var username = document.getElementById("email").value; 
418            if (username == "" || username == null) {  
419                document.getElementById("errorMessage").innerHTML = "Please provide your email address in the field above and click Forgot Password.";
420                $('#lgimsg').show();
421            } else {
422				document.getElementById("loginStatus").value = "Pwd";
423            	document.getElementById("login_form").submit();
424            }
425
426        }
427
428        function ajaxForgotPwd(){
429            var username = document.getElementById("email").value; 
430            document.getElementById("warningMessage").innerHTML = '';
431            document.getElementById("errorMessage").innerHTML = '';
432            if (username == "" || username == null) {  
433                document.getElementById("errorMessage").innerHTML = "Please provide your email address in the field above and click Forgot Password.";
434                $('#lgimsg').show();
435            } else {
436				var datastr = "email=" + username + "&pgId=2";
437	            document.getElementById("warningMessage").innerHTML = '';
438	            document.getElementById("errorMessage").innerHTML = 'Please wait...';
439                $.ajax({
440                    url: '/libs/sandboxbundle/structure/AjaxUserLogin.servlet',
441                    data: datastr,
442                    success: function (responseText) {
443                        var curindex = responseText.indexOf('<!--start-->');
444                        var endindex = responseText.indexOf('<!--end-->');
445                        var curtxt = responseText.substring(curindex + 12, endindex);
446                        //alert(curtxt);
447                        if(curtxt == "Yes"){
448                            document.getElementById("errorMessage").innerHTML = "";
449                            document.getElementById("warningMessage").innerHTML = "Thank you! <br /> Your password is on its way.";
450                        }else{
451                            document.getElementById("warningMessage").innerHTML = "";
452                            document.getElementById("errorMessage").innerHTML = 'Sorry, those credentials are not valid. Your user name is your email address, and you can email us at <a href="mailto:[email protected]">[email protected]</a> to retrieve your current password.';
453            			}
454                        $('#lgimsg').show();
455                    }
456                });
457            }
458
459        }
460
461        function loginPost()
462        {
463                    var username = document.getElementById("email").value; 
464            var password = document.getElementById("password").value;
465            var nData = 'loginStatus=OK&email=' + encodeURIComponent(username) + '&password=' + encodeURIComponent(password)+"&act="+$('#txtAcceptCookie').val();
466            
467            $.post("/libs/sandboxbundle/structure/doUserLoginJS.servlet", nData,
468                   function (data1, status) {
469                       //alert(data1);
470                    var datastr = '(' + data1 + ')';
471                    var jobj = eval(datastr)
472                    if(jobj&&jobj.users&&jobj.users.length>0 && jobj.users[0].lged==1){
473                    var uObj = jobj.users[0];
474                    var userInfo = "";
475		            userInfo += "id" + ":" + uObj.id + ",";
476		            userInfo += "Email" + ":" + uObj.Email + ",";
477		            userInfo += "Password" + ":" + uObj.Password + ",";
478		            userInfo += "First Name" + ":" + uObj.FirstName + ",";
479		            userInfo += "Last Name" + ":" + uObj.LastName + ",";
480		            userInfo += "Company" + ":" + uObj.Company + ",";
481                        setCookie('sandboxLoggedIn',userInfo);
482                 		window.location.href = '/content/sandbox/en/home.html';
483                
484                    }else{
485                		alert('User Name or Password error.');
486                    }
487
488                    }
489                  );
490        }
491
492    function setCookie(name, value) {
493        var hours = 30;
494        var exp = new Date();
495        exp.setTime(hours*24 * 60 * 60 * 1000);
496        document.cookie = name + "=" + escape(value) + ";expires="
497                + exp.toGMTString() + ";path=/";
498    }
499
500    </script>
500
501
502<style type="text/css">
503            .cookieinfo {
504                background-color: #D3D3D3;
505            z-index:1;
506            display:block;
507            position:fixed;
508            padding:16px;
509            width:300px;
510            color:#484848;
511            left:5px;
512            bottom:8px;
513            font-size:16px;
514            }
515            .cookietxt {font-size:16px;
516            }
517            .cookiebtn {
518                background-color: #0033ff;
519            color: white;
520            width: 265px;
521            padding: 8px;
522            border-color: #0033ff;
523            }
524            .lgmsgcss{
525            background-color: #D3D3D3;
526            display:block;
527            padding:8px;
528            width:360px;
529            color:#484848;
530            font-size:16px;display:none;
531            }
532            .lgmsgcss a{
533            /*font-weight: bold;
534            text-decoration: none;
535                        color:#484848;*/
536            }
537            .login_form{min-width:389px;}
538        </style>
539
540    <div id="LoginPage">
541        <div class="form_container">
542            <input type="hidden" id="curLogin" value="null" />
543        	<form class="login_form" name="login_form" id="login_form" method="post" action="/libs/sandboxbundle/structure/doUserLogin.servlet" enctype="multipart/form-data">
544    			<fieldset>
545                    <legend class="legend_top"> Login:      </legend>
546	        		<label class="credential_label" for="username">Email:</label>
547	        		<input class="credential_input" type="username" name="email" id="email" autofocus required placeholder="Username">
548	        		<br>
549	        		<label class="credential_label" for="password">Password:</label>
550	        		<input class="credential_input" type="password" name="password" id="password" required placeholder="Password">
551
552					<div class="curbtn_style">
553					<input type="hidden" name="txtAcceptCookie" id="txtAcceptCookie" />
554                        <button type="BUTTON"  id="btnLoginTS"  class="cmp-form-button"  onclick="ajaxDoLogin()" name="btnLogin">Login</button>
555
556                        <!--
557 <input class="curbtn blue" name="btnLogin" id="btnLoginTS" type="button" onclick="ajaxDoLogin()" value="Login"/>
558input class="" name="btnForgot" id="btnForgot" type="button" onclick="forgotPwd()" value="Forgot Password?"/>-->
559                        <span style="color:#FF0000;float:right;">
560                        	<a style="text-decoration:underline;" onclick="ajaxForgotPwd()">Forgot Password?</a>
561                        </span>
562                        <input type="hidden" name="loginStatus" id="loginStatus"/>
563                       <!-- <br/><br/><a onclick="createNew()">Create an account</a>-->
564                    </div>
565                    <div class="lgmsgcss" id="lgimsg">
566                    <label class="error_msg" id="errorMessage"></label>
567                    <label class="warning_msg" id="warningMessage"></label>
568                    </div>
569					<br>
570				</fieldset>
571			</form>
572        </div>
573
574</div>
575    </div>
576
577</div>
578
579    
580</div>
581</div>
582
583        </div>
584
585		<div style="clear:both"></div>
586    	<!--footer-->
587        <div class="footer aem-GridColumn aem-GridColumn--default--12"><div class="newFooter">
588
589	<div class="newFooter-left"> 
590        <img src="/content/dam/sandbox/smartdoc-logo-small.png"/> 
591    </div>
592
593	<div class="newFooter-right"> 
594    	<p><a href="mailto:[email protected]">[email protected]</a></p>
595   		smartdoctech.com
596    </div>
597
598    <div style="clear:both"></div>            
599
600</div></div>
601
602    </body>
603</html>
604</body>
605</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.