{"id":339,"date":"2023-05-04T09:49:32","date_gmt":"2023-05-04T09:49:32","guid":{"rendered":"https:\/\/abansfinance.com\/home\/?page_id=339"},"modified":"2023-05-04T10:21:42","modified_gmt":"2023-05-04T10:21:42","slug":"register","status":"publish","type":"page","link":"https:\/\/abansfinance.com\/home\/register\/","title":{"rendered":"Register"},"content":{"rendered":"<div class=\"row\" id=\"msform\" style=\"display:none;\">\n\t\t\t\t\t\t\t\t<div class=\"col-md-12\">\n\t\t\t\t\t\t\t\t\t<div class=\"card\">\n\t\t\t\t\t\t\t\t\t\t<fieldset>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-card\">\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-12\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"thankyou-wrap\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h5>Under Development<\/h5>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>The feature is under development, and will be released soon. For Loan application, please contact Abans Finance Pvt. Ltd at +91-22-61790000 on Business days between 10:00am to 06:00pm<\/p>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<\/fieldset>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\n<style>\n\n.ur-frontend-form .ur-button-container .ur-submit-button { padding: 12px 2em; margin: 20px auto 0; float: inherit; display: block; border-radius: 10px; word-break: inherit; width: auto; background: #17BED2 !important;  color: #fff !important;}\n.ur-frontend-form .ur-button-container .ur-submit-button:hover{border-color: #17BED2 !important;  color: #fff !important;}\n<\/style>\n\t<div class='user-registration ur-frontend-form  ' id='user-registration-form-108'>\n\t\t<form method='post' class='register' data-form-id=\"108\"\n\t\t\t  data-enable-strength-password=\"\" data-minimum-password-strength=\"3\"  data-captcha-enabled=\"\">\n\n\t\t\t\t\t\t\t\t\t<div class='ur-form-row'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"ur-form-grid ur-grid-1\"\n\t\t\t\t\t\t\t\t\t\t\t style=\"width:99%\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div  data-field-id=\"first_name\" class=\"ur-field-item field-first_name \">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row \" id=\"first_name_field\" data-priority=\"\" ><label for=\"first_name\" class=\"ur-label\">First Name<\/label> <span class=\"input-wrapper\"> <input  data-rules=\"\" data-id=\"first_name\" type=\"text\" class=\"input-text   input-text ur-frontend-field  \" name=\"first_name\" id=\"first_name\" placeholder=\"\"  value=\"\" data-label=\"First Name\" \/> <\/span> <\/div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div  data-field-id=\"last_name\" class=\"ur-field-item field-last_name \">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row \" id=\"last_name_field\" data-priority=\"\" ><label for=\"last_name\" class=\"ur-label\">Last Name<\/label> <span class=\"input-wrapper\"> <input  data-rules=\"\" data-id=\"last_name\" type=\"text\" class=\"input-text   input-text ur-frontend-field  \" name=\"last_name\" id=\"last_name\" placeholder=\"\"  value=\"\" data-label=\"Last Name\" \/> <\/span> <\/div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div  data-field-id=\"user_email\" class=\"ur-field-item field-user_email \">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row validate-required\" id=\"user_email_field\" data-priority=\"\" ><label for=\"user_email\" class=\"ur-label\">Email <abbr class=\"required\" title=\"required\">*<\/abbr><\/label> <span class=\"input-wrapper\"> <input  data-rules=\"\" data-id=\"user_email\" type=\"email\" class=\"input-text   input-email ur-frontend-field  \" name=\"user_email\" id=\"user_email\" placeholder=\"\"  value=\"\" required=\"required\" data-label=\"Email\" \/> <\/span> <\/div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div  data-field-id=\"mobile_number\" class=\"ur-field-item field-number mobile_number\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row validate-required\" id=\"mobile_number_field\" data-priority=\"\" ><label for=\"mobile_number\" class=\"ur-label\">Mobile Number <abbr class=\"required\" title=\"required\">*<\/abbr><\/label> <span class=\"input-wrapper\"> <input  data-rules=\"\" data-id=\"mobile_number\" type=\"number\" class=\"input-text   input-number ur-frontend-field \" name=\"mobile_number\" id=\"mobile_number\" placeholder=\"\"  value=\"\" required=\"required\" data-label=\"Mobile Number\" min=\"0000000001\" max=\"9999999999\" step=\"1\" \/> <\/span> <\/div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div  data-field-id=\"otp\" class=\"ur-field-item field-number hide enter_otp\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row \" id=\"otp_field\" data-priority=\"\" ><label for=\"otp\" class=\"ur-label\">OTP<\/label> <span class=\"input-wrapper\"> <input  data-rules=\"\" data-id=\"otp\" type=\"number\" class=\"input-text   input-number ur-frontend-field \" name=\"otp\" id=\"otp\" placeholder=\"Enter otp\"  value=\"\" data-label=\"OTP\" min=\"0000\" max=\"9999\" step=\"1\" \/> <\/span> <\/div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div  data-field-id=\"user_pass\" class=\"ur-field-item field-user_pass \">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row validate-required hide_show_password\" id=\"user_pass_field\" data-priority=\"\"><label for=\"user_pass\" class=\"ur-label\">User Password <abbr class=\"required\" title=\"required\">*<\/abbr><\/label> <span class=\"input-wrapper\"> <span class=\"password-input-group input-form-field-icons\"><input data-rules=\"\" data-id=\"user_pass\" type=\"password\" class=\"input-text  input-password ur-frontend-field  \" name=\"user_pass\" id=\"user_pass\" placeholder=\"\"  value=\"\" required=\"required\" data-label=\"User Password\" \/><\/span> <\/span> <\/div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div  data-field-id=\"user_confirm_password\" class=\"ur-field-item field-user_confirm_password \">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row validate-required hide_show_password\" id=\"user_confirm_password_field\" data-priority=\"\"><label for=\"user_confirm_password\" class=\"ur-label\">Confirm Password <abbr class=\"required\" title=\"required\">*<\/abbr><\/label> <span class=\"input-wrapper\"> <span class=\"password-input-group input-form-field-icons\"><input data-rules=\"\" data-id=\"user_confirm_password\" type=\"password\" class=\"input-text  input-password ur-frontend-field  \" name=\"user_confirm_password\" id=\"user_confirm_password\" placeholder=\"\"  value=\"\" required=\"required\" data-label=\"Confirm Password\" \/><\/span> <\/span> <\/div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"ur-button-container \" >\n\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn button ur-submit-button \">\n\t\t\t\t\t\t\t<span><\/span>\n\t\t\t\t\t\t\tSubmit\t\t\t\t\t\t<\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\n\t\t\t<div style=\"clear:both\"><\/div>\n\t\t\t\t\t\t<input type=\"hidden\" name=\"ur-user-form-id\" value=\"108\"\/>\n\t\t\t<input type=\"hidden\" name=\"ur-redirect-url\" value=\"https:\/\/abansfinance.com\/home\/my-account\"\/>\n\t\t\t<input type=\"hidden\" id=\"ur_frontend_form_nonce\" name=\"ur_frontend_form_nonce\" value=\"ea5f4e9209\" \/>\n\t\t\t\t\t<\/form>\n\n\t\t<div style=\"clear:both\"><\/div>\n\t<\/div>\n<script src=\"https:\/\/code.jquery.com\/jquery-1.11.3.min.js\"><\/script>\n<script>\n\n\t\/*$('.mobile_number').append('<div class=\"ur-button-container \"><a class=\"btn button send_otp\"><span><\/span>Send OTP<\/a><\/div>');\n\t$('.mobile_number').append('<div class=\" form-row  number-response-message\"><\/div>');\n\t$('.enter_otp').append('<div class=\"ur-button-container \"><a class=\"btn button verify_otp\"><span><\/span>Verify OTP<\/a><\/div>');\n\t$('.enter_otp').append('<div class=\" form-row otp-response-message\"><\/div>');*\/\n\tjQuery(document).ready(function($) {\n\t\t$('.bregister').on('click', function(e) {\n\t\t\te.preventDefault(); \/\/ Prevent form submission\n\t\t\t$('#msform').show();\n\t\t\t$('#user-registration-form-108').hide();\t\t\t\n\t\t});\n\t});\n\tjQuery(\".send_otp\").click(function(){\n\t\tvar mobileNumber = $('#mobile_number').val();\n\t\t\/\/ Validate phone number (10 digits)\n\t\tif(mobileNumber && mobileNumber.length == 10 && \/^[0-9]{10}$\/.test(mobileNumber)){\n\t\t\t$.ajax({\n\t\t\t\turl : techy_ajaxurl, \/\/ AJAX handler, declared before\n\t\t\t\tdata : {\n\t\t\t\t\t'action': 'send_otp_request',\n\t\t\t\t\t'number': mobileNumber,\n\t\t\t\t\t'nonce': 'e9d7048a8f' \/\/ Add nonce for security\n\t\t\t\t},\n\t\t\t\ttype : 'POST',\n\t\t\t\tbeforeSend : function ( xhr ) {\n\t\t\t\t\t\/\/button.text('Loading...'); \/\/ preloader here\n\t\t\t\t},\n\t\t\t\tsuccess : function( data ){\n\t\t\t\t\t$('.field-number').removeClass('hide');\n\t\t\t\t},\n\t\t\t\terror : function( xhr, status, error ){\n\t\t\t\t\tconsole.error('Error sending OTP:', error);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\talert('Please enter a valid 10-digit mobile number');\n\t\t}\n\t});\n\n\tjQuery(\".verify_otp\").click(function(){\n\t\tvar otpPin = $('#otp').val();\n\t\tvar mobileNumber = $('#mobile_number').val();\n\t\t\n\t\t\/\/ Validate inputs\n\t\tif(!otpPin || !mobileNumber){\n\t\t\talert('Please enter OTP and mobile number');\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t$.ajax({\n\t\t\turl : techy_ajaxurl, \/\/ AJAX handler, declared before\n\t\t\tdata : {\n\t\t\t\t'action': 'verify_otp_request',\n\t\t\t\t'otp_pin': otpPin,\n\t\t\t\t'number': mobileNumber,\n\t\t\t\t'nonce': '07a822523c' \/\/ Add nonce for security\n\t\t\t},\n\t\t\ttype : 'POST',\n\t\t\tbeforeSend : function ( xhr ) {\n\t\t\t\t\/\/button.text('Loading...'); \/\/ preloader here\n\t\t\t},\n\t\t\tsuccess : function( data ){\n\t\t\t\t$('.otp-response-message').html('');\n\t\t\t\tif(data == \"success\"){\n\t\t\t\t\t\/\/ Escape output to prevent XSS\n\t\t\t\t\t$('.number-response-message').html('<span style=\"color:green\">Number verified successfully<\/span>');\n\t\t\t\t} else {\n\t\t\t\t\t\/\/ Escape output to prevent XSS\n\t\t\t\t\t$('.number-response-message').html('<span style=\"color:red\">Incorrect Otp please try again.<\/span>');\n\t\t\t\t}\n\t\t\t},\n\t\t\terror : function( xhr, status, error ){\n\t\t\t\tconsole.error('Error verifying OTP:', error);\n\t\t\t\t$('.number-response-message').html('<span style=\"color:red\">An error occurred. Please try again.<\/span>');\n\t\t\t}\n\t\t});\n\t});\n\n\t\/*$(\"form\").on(\"submit\", function (e) {\n\t   e.preventDefault();\n\n\t   $.ajax({\n\t\t\turl : techy_ajaxurl, \/\/ AJAX handler, declared before\n\t\t\tdata : {\n\t\t\t\t'action': 'check_number_verified', \/\/ wp_ajax_cloadmore\n\t\t\t\t'number': $('#mobile_number').val() \/\/ the current post\n\t\t\t},\n\t\t\ttype : 'POST',\n\t\t\tbeforeSend : function ( xhr ) {\n\t\t\t\t\/\/button.text('Loading...'); \/\/ preloader here\n\t\t\t},\n\t\t\tsuccess : function( data ){\n\t\t\t\t$('.number-response-message').html('');\n\t\t\t\tif(data == \"success\"){\n\t\t\t\t\t$( this ).unbind( 'submit' ).submit(); \/\/ Release \n\t\t\t\t} else {\n\t\t\t\t\t$('.otp-response-message').html('<span style=\"color:red\">Verify your mobile number<\/div>');\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t   \n\t });*\/\n\n\n\t$('#info_select').on('change', function() {\n\t\tif( this.value  == \"Other\"){\n\t\t\t$('.info_other').removeClass('hide');\t\n\t\t}\n\t});\n\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-339","page","type-page","status-publish","hentry","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/abansfinance.com\/home\/wp-json\/wp\/v2\/pages\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abansfinance.com\/home\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/abansfinance.com\/home\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/abansfinance.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abansfinance.com\/home\/wp-json\/wp\/v2\/comments?post=339"}],"version-history":[{"count":7,"href":"https:\/\/abansfinance.com\/home\/wp-json\/wp\/v2\/pages\/339\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/abansfinance.com\/home\/wp-json\/wp\/v2\/pages\/339\/revisions\/348"}],"wp:attachment":[{"href":"https:\/\/abansfinance.com\/home\/wp-json\/wp\/v2\/media?parent=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}