{"id":1250,"date":"2025-11-25T06:47:14","date_gmt":"2025-11-25T06:47:14","guid":{"rendered":"https:\/\/pjithub.in\/projects\/realestate\/?page_id=1250"},"modified":"2025-11-25T06:47:14","modified_gmt":"2025-11-25T06:47:14","slug":"signup-2","status":"publish","type":"page","link":"https:\/\/pjithub.in\/projects\/realestate\/he\/signup-2\/","title":{"rendered":"Signup"},"content":{"rendered":"    <input type=\"hidden\" id=\"rel_signup_nonce\" name=\"rel_signup_nonce\" value=\"a2f9bfea51\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/projects\/realestate\/wp-json\/wp\/v2\/pages\/1250\" \/>\n<style type=\"text\/css\">\n  .error-message{\n    color: red;\n  }\n\n\n<\/style>\n    \n<div class=\"rounded-md max-w-md mx-auto box signup-form-main\">\n  <div>\n    <h3  class=\"tracking-tight text-2xl font-bold\">Create an Account<\/h3>\n    <p class=\"text-muted text-sm\">Sign up to start your journey with GetHome<\/p>\n  <\/div>\n  <div class=\"tab-div\">\n    <div class=\"buttonWrapper\">\n      <button class=\"tab-button button-tab active\" data-id=\"buyer\"> Buyer <\/button>\n      <button class=\"tab-button button-tab\" data-id=\"seller\">Seller<\/button>\n      <button class=\"tab-button button-tab\"  data-id=\"rep\">Real Estate Rep<\/button>\n    \n    <\/div>\n    <div class=\"contentWrapper\">\n      <div class=\"error_messages\" style=\"color: red;\">\n            <\/div>\n<div class=\"content active\" id=\"buyer\">\n  <form id=\"wp_signup_form1\" action=\"https:\/\/pjithub.in\/projects\/realestate\/en\/signup\/\/#buyer\" method=\"post\" novalidate>\n  <input type=\"hidden\" name=\"role\" value=\"buyer\" \/>\n\n  <label class=\"text-sm py-2\">Language<\/label>\n    <select name=\"sign_language\" required class=\"w-full px-4 py-3 rounded-md border border-gray-200 bg-white\" id=\"sign_language\" >\n            <option  value=\"English\">English<\/option>\n            <option  value=\"Hebrew\">Hebrew<\/option>\n    <\/select>\n\n  <label class=\"text-sm py-2\">Full Name<\/label>\n  <input type=\"text\" name=\"sign_name\" id=\"buyer_name\" pattern=\"[A-Za-z\\s]{2,50}\" title=\"Only letters and spaces, 2 to 50 characters\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"John Doe\" required>\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_buyer_name\"><\/div>\n\n  <!-- <label class=\"text-sm py-2\">Username<\/label>\n  <input type=\"text\" name=\"sign_username\" id=\"buyer_username\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Username\" required>\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_buyer_username\"><\/div> -->\n\n  <label class=\"text-sm py-2\">Email<\/label>\n  <input type=\"email\" name=\"sign_email\" id=\"buyer_email\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"name@example.com\" required>\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_buyer_email\"><\/div>\n\n  <div class=\"relative\">\n    <label class=\"text-sm py-2\">Password<\/label>\n    <input type=\"password\" name=\"sign_password\" id=\"buyer_password\" pattern=\"(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,20}\" title=\"8-20 characters, must include uppercase, lowercase, and number\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Password\" required>\n    <div class=\"absolute right-end py-2 px-3 show-password\" onclick=\"togglePassword('buyer_password', this)\"><i class=\"bi bi-eye\"><\/i><\/div>\n  <\/div>\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_buyer_password\"><\/div>\n\n  <label class=\"text-sm py-2\">Confirm Password<\/label>\n  <input type=\"password\" name=\"sign_password_confirmation\" id=\"buyer_password_confirm\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Confirm Password\" required>\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_buyer_password_confirm\"><\/div>\n\n\t<label class=\"text-sm py-2\">Signature<\/label>\n  <canvas id=\"signature-pad\" width=\"400\" height=\"200\" style=\"border:1px solid #ccc;\"><\/canvas>\n  <!-- <button type=\"button\" onclick=\"clearSignature()\">Clear<\/button> -->\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_buyer_signature\"><\/div>\n  <input type=\"hidden\" name=\"signature\" id=\"signature-data\">\n\n<div class=\"flex items-center checkbox-wrapper\">\n  <input name=\"sign_terms\" id=\"buyer_terms\" type=\"checkbox\" value=\"Yes\" required>\n\n  <label for=\"buyer_terms\" class=\"text-sm py-2 d-block\">\n    I agree to the        <a href=\"https:\/\/pjithub.in\/projects\/realestate\/en\/terms-of-use\/\" class=\"text-muted underline-offset-4 underline text-dark\">\n      terms and conditions    <\/a>\n  <\/label>\n<\/div>\n\n\n<!--   <p class=\"text-sm text-center\">\n    <input name=\"sign_terms\" id=\"buyer_terms\" type=\"checkbox\" value=\"Yes\" required>\n    I agree to the <a href=\"#\" class=\"text-muted underline-offset-4 underline text-dark\">terms and conditions<\/a>\n  <\/p> -->\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_buyer_terms\"><\/div>\n\n  <button type=\"submit\" class=\"bg-primary w-full button text-sm py-2 rounded-md h-10\">Create Account<\/button>\n<\/form>\n<\/div>\n\n<div class=\"content\" id=\"seller\">\n  <form id=\"wp_signup_form2\" action=\"https:\/\/pjithub.in\/projects\/realestate\/en\/signup\/\/#seller\" method=\"post\" novalidate enctype=\"multipart\/form-data\">  \n    <input type=\"hidden\" name=\"role\" value=\"seller\" \/>\n\n    <label class=\"text-sm py-2\">Language<\/label>\n    <select name=\"sign_language\" required class=\"w-full px-4 py-3 rounded-md border border-gray-200 bg-white\" id=\"sign_language2\" >\n            <option  value=\"English\">English<\/option>\n            <option  value=\"Hebrew\">Hebrew<\/option>\n    <\/select>\n\n\t   <label class=\"text-sm py-2\">Are you a builder?<\/label>\n    <fieldset class=\"radio-yes-no\">\n   \n    <input type=\"radio\" id=\"yesOption\" name=\"isbuilder\" value=\"yes\"><label for=\"yesOption\">Yes<\/label>\n      <input type=\"radio\" id=\"noOption\" name=\"isbuilder\" value=\"no\" checked><label for=\"noOption\">No<\/label>\n  <\/fieldset>\n\n  \n\n  \n\n    <label class=\"text-sm py-2\">Seller Name<\/label>\n    <input type=\"text\" name=\"sign_name\" id=\"seller_name\" pattern=\"[A-Za-z\\s]{2,50}\" title=\"Only letters and spaces, 2 to 50 characters\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"John Doe\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_seller_name\"><\/div>\n\n\n    <!-- <label class=\"text-sm py-2\">Username<\/label>\n    <input type=\"text\" name=\"sign_username\" id=\"seller_username\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Username\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_seller_username\"><\/div> -->\n\n    <label class=\"text-sm py-2\">Email<\/label>\n    <input type=\"email\" name=\"sign_email\" id=\"seller_email\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"name@example.com\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_seller_email\"><\/div>\n\n    \n\n    <label class=\"text-sm py-2\">Phone<\/label>\n    <input type=\"text\" name=\"sign_phone\" id=\"seller_phone\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Phone\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_seller_phone\"><\/div>\n\n    <label class=\"text-sm py-2\">Address<\/label>\n    <input type=\"text\" name=\"sign_address\" id=\"seller_address\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Address\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_seller_address\"><\/div>\n\n    \n    <!-- image govt id-->\n    <div>\n                <label class=\"text-sm py-2\">Upload Government-issued ID (Driver\u2019s License, Passport, or State ID)<\/label>\n                <div class=\"border-2 border-dashed rounded-md p-4 text-center\">\n                    <label class=\"cursor-pointer block\">\n                        <input data-component-name=\"input\" required=\"\"  name=\"govt_id_file\"   type=\"file\"  class=\"hidden\" id=\"file-selector-seller-govtid\">\n                        <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-upload mx-auto h-10 w-10 text-muted\">\n                            <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"><\/path>\n                            <polyline points=\"17 8 12 3 7 8\"><\/polyline>\n                            <line x1=\"12\" x2=\"12\" y1=\"3\" y2=\"15\"><\/line>\n                        <\/svg>\n                        <p class=\"text-sm font-medium text-sm py-2\">Click to upload your Government-issued ID <\/br> PDF,JPG or PNG (max 5MB)<\/p>\n                    <\/label>\n                <\/div>\n\n     <\/div>           \n    <!-- image govt id -->\n    <label class=\"text-sm py-2\">Government-issued ID Number<\/label>\n    <input type=\"text\" name=\"sign_govt_id_number\" id=\"seller_govt_id_number\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"License Number, Aadhaar Number\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_seller_govt_id_number\"><\/div>\n    <!-- image -->\n    <!-- <div>\n                <label class=\"text-sm py-2\">Professional Certification<\/label>\n                <div class=\"border-2 border-dashed rounded-md p-4 text-center\">\n                    <label class=\"cursor-pointer block\">\n                        <input data-component-name=\"input\" required=\"\"  name=\"id_image\"   type=\"file\"  class=\"hidden\" id=\"file-selector-seller\">\n                        <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-upload mx-auto h-10 w-10 text-muted\">\n                            <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"><\/path>\n                            <polyline points=\"17 8 12 3 7 8\"><\/polyline>\n                            <line x1=\"12\" x2=\"12\" y1=\"3\" y2=\"15\"><\/line>\n                        <\/svg>\n                        <p class=\"text-sm font-medium text-sm py-2\">Click to upload your certification <\/br> PDF,JPG or PNG (max 5MB)<\/p>\n                    <\/label>\n                <\/div>\n\n     <\/div>   -->         \n    <!-- image -->\n\n    <div class=\"relative\">\n      <label class=\"text-sm py-2\">Password<\/label>\n      <input type=\"password\" name=\"sign_password\" id=\"user_pass_sel\" pattern=\"(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,20}\" title=\"8-20 characters, must include uppercase, lowercase, and number\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"password\" required>\n      <div class=\"absolute right-end py-2 px-3 show-password\" onclick=\"togglePassword('user_pass_sel', this)\"><i class=\"bi bi-eye\"><\/i><\/div>\n    <\/div>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_user_pass_sel\"><\/div>\n\n    <label class=\"text-sm py-2\">Confirm Password<\/label>\n    <input type=\"password\" name=\"sign_password_confirmation\" id=\"user_pass_seller_con\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"password\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_user_pass_seller_con\"><\/div>\n\n\n   <label class=\"text-sm py-2\">Signature<\/label>\n  <canvas id=\"signature-pad-seller\" width=\"400\" height=\"200\" style=\"border:1px solid #ccc;\"><\/canvas>\n  <!-- <button type=\"button\" onclick=\"clearSignature()\">Clear<\/button> -->\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_seller_signature\"><\/div>\n  <input type=\"hidden\" name=\"signature\" id=\"signature-data-seller\">\n\n\n   <div class=\"flex items-center checkbox-wrapper\">\n<input name=\"sign_terms\" id=\"seller_terms\" type=\"checkbox\" value=\"Yes\" required>\n\n  <label for=\"seller_terms\" class=\"text-sm py-2 d-block\">\n  I agree to the <a href=\"https:\/\/pjithub.in\/projects\/realestate\/en\/terms-of-use\/\" class=\"text-muted underline-offset-4 underline text-dark\">terms and conditions<\/a>\n  <\/label>\n<\/div>\n\t  \n\t  \n\t  \n\t  \n\t  \n\t  \n\t  \n\t  \n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_seller_terms\"><\/div>\n    <button type=\"submit\" class=\"bg-primary w-full button text-sm py-2 rounded-md h-10\" name=\"submit\" value=\"Sign Up\">Create Account<\/button>\n    <p class=\"text-sm text-muted text-center mt-15\">Already have an account? <a href=\"https:\/\/pjithub.in\/projects\/realestate\/login\" class=\"underline-offset-4 underline text-dark\">Login here<\/a><\/p>\n  <\/form>\n<\/div>\n\n<div class=\"content\" id=\"rep\">\n  <form id=\"wp_signup_form3\" action=\"https:\/\/pjithub.in\/projects\/realestate\/en\/signup\/\/#rep\" method=\"post\" novalidate enctype=\"multipart\/form-data\">  \n    <input type=\"hidden\" name=\"role\" value=\"rep\" \/>\n    <label class=\"text-sm py-2\">Language<\/label>\n    <select name=\"sign_language\" required class=\"w-full px-4 py-3 rounded-md border border-gray-200 bg-white\" id=\"sign_language3\" >\n            <option  value=\"English\">English<\/option>\n            <option  value=\"Hebrew\">Hebrew<\/option>\n    <\/select>\n\n    <label class=\"text-sm py-2\">Representative Name<\/label>\n    <input type=\"text\" name=\"sign_name\" id=\"rep_name\" pattern=\"[A-Za-z\\s]{2,50}\" title=\"Only letters and spaces, 2 to 50 characters\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"John Doe\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_name\"><\/div>\n\n    <!-- <label class=\"text-sm py-2\">Username<\/label>\n    <input type=\"text\" name=\"sign_username\" id=\"rep_username\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Username\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_username\"><\/div> -->\n\n    <label class=\"text-sm py-2\">Email<\/label>\n    <input type=\"email\" name=\"sign_email\" id=\"rep_email\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"name@example.com\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_email\"><\/div>\n\n    <label class=\"text-sm py-2\">Phone<\/label>\n    <input type=\"text\" name=\"sign_phone\" id=\"rep_phone\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Phone\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_phone\"><\/div>\n\n    <label class=\"text-sm py-2\">Address<\/label>\n    <input type=\"text\" name=\"sign_address\" id=\"rep_address\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Address\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_address\"><\/div>\n\n\n    \n\n\n    <label class=\"text-sm py-2\">Region of Operation<\/label>\n    <select name=\"resion_operation\" required class=\"w-full px-4 py-3 rounded-md border border-gray-200 bg-white\" id=\"resion_operation\" onchange=\"fillarea(this.value);\">\n            <option  value=\"area\">Select your municipal region<\/option>\n                          <option  value=\"7\" >Carmel Coast & Valleys<\/option> \n                        <option  value=\"3\" >Central<\/option> \n                        <option  value=\"2\" >Haifa & Surroundings<\/option> \n                        <option  value=\"4\" >Jerusalem & Surroundings<\/option> \n                        <option  value=\"1\" >North<\/option> \n                        <option  value=\"5\" >Shefela & South-Central<\/option> \n                        <option  value=\"6\" >South<\/option> \n              <\/select>\n\n\n\n\n    <label class=\"text-sm py-2\">Area of Operation<\/label>\n    <select name=\"area_operation\" required class=\"w-full px-4 py-3 rounded-md border border-gray-200 bg-white\" id=\"area_operation\" >\n            <option  value=\"area\">Select your municipal area<\/option>\n    <\/select>\n\n\n\n    <label class=\"text-sm py-2\">City<\/label>\n    <input type=\"text\" name=\"city\" id=\"rep_city\" pattern=\"[A-Za-z\\s]{2,50}\" title=\"Only letters and spaces, 2 to 50 characters\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"City\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_city\"><\/div>\n\n    <label class=\"text-sm py-2\">State<\/label>\n    <input type=\"text\" name=\"state\" id=\"rep_state\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"State\">\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_state\"><\/div>\n\n    <label class=\"text-sm py-2\">Postal Code<\/label>\n    <input type=\"text\" name=\"postal_code\" id=\"rep_postal_code\" pattern=\"\\d{4,10}\" title=\"4 to 10 digit postal code\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"Postal Code\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_postal_code\"><\/div>\n    <label class=\"text-sm py-2\">Professional Bio<\/label>\n    <textarea class=\"text-area text-sm\" name=\"professional_bio\" id=\"professional_bio\"  rows=\"5\" placeholder=\"Tell us about your experience in real estate...\"><\/textarea>\n    <!-- image govt id-->\n    <div>\n                <label class=\"text-sm py-2\">Upload Government-issued ID (Driver\u2019s License, Passport, or State ID)<\/label>\n                <div class=\"border-2 border-dashed rounded-md p-4 text-center\">\n                    <label class=\"cursor-pointer block\">\n                        <input data-component-name=\"input\" required=\"\"  name=\"govt_id_file\"   type=\"file\"  class=\"hidden\" id=\"file-selector-govtid\">\n                        <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-upload mx-auto h-10 w-10 text-muted\">\n                            <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"><\/path>\n                            <polyline points=\"17 8 12 3 7 8\"><\/polyline>\n                            <line x1=\"12\" x2=\"12\" y1=\"3\" y2=\"15\"><\/line>\n                        <\/svg>\n                        <p class=\"text-sm font-medium text-sm py-2\">Click to upload your Government-issued ID <\/br> PDF,JPG or PNG (max 5MB)<\/p>\n                    <\/label>\n                <\/div>\n\n     <\/div>           \n    <!-- image govt id -->\n    <label class=\"text-sm py-2\">Government-issued ID Number<\/label>\n    <input type=\"text\" name=\"sign_govt_id_number\" id=\"rep_govt_id_number\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"License Number, Aadhaar Number\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_govt_id_number\"><\/div>\n    <!-- image -->\n    <div>\n                <label class=\"text-sm py-2\">Professional Certification<\/label>\n                <div class=\"border-2 border-dashed rounded-md p-4 text-center\">\n                    <label class=\"cursor-pointer block\">\n                        <input data-component-name=\"input\" required=\"\"  name=\"id_image\"   type=\"file\"  class=\"hidden\" id=\"file-selector\">\n                        <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-upload mx-auto h-10 w-10 text-muted\">\n                            <path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"><\/path>\n                            <polyline points=\"17 8 12 3 7 8\"><\/polyline>\n                            <line x1=\"12\" x2=\"12\" y1=\"3\" y2=\"15\"><\/line>\n                        <\/svg>\n                        <p class=\"text-sm font-medium text-sm py-2\">Click to upload your certification <\/br> PDF,JPG or PNG (max 5MB)<\/p>\n                    <\/label>\n                <\/div>\n     <\/div>           \n    <!-- image -->\n    <div class=\"relative\">\n      <label class=\"text-sm py-2\">Password<\/label>\n      <input type=\"password\" name=\"sign_password\" id=\"user_pass_rep\" pattern=\"(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,20}\" title=\"8-20 characters, must include uppercase, lowercase, and number\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"password\" required>\n      <div class=\"absolute right-end py-2 px-3 show-password\" onclick=\"togglePassword('user_pass_rep', this)\"><i class=\"bi bi-eye\"><\/i><\/div>\n    <\/div>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_user_pass_rep\"><\/div>\n\n    <label class=\"text-sm py-2\">Confirm Password<\/label>\n    <input type=\"password\" name=\"sign_password_confirmation\" id=\"user_pass_con\" class=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\" placeholder=\"password\" required>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_user_pass_con\"><\/div>\n    <label class=\"text-sm py-2\">Signature<\/label>\n    <canvas id=\"signature-pad-rep\" width=\"400\" height=\"200\" style=\"border:1px solid #ccc;\"><\/canvas>\n  <!-- <button type=\"button\" onclick=\"clearSignature()\">Clear<\/button> -->\n  <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_rep_signature\"><\/div>\n  <input type=\"hidden\" name=\"signature\" id=\"signature-data-rep\">\n\n\n    <div class=\"flex items-center checkbox-wrapper\">\n<input name=\"sign_terms\" id=\"terms\" type=\"checkbox\" value=\"Yes\" required>\n\n  <label for=\"terms\" class=\"text-sm py-2 d-block\">\n  I agree to the <a href=\"https:\/\/pjithub.in\/projects\/realestate\/en\/terms-of-use\/\" class=\"text-muted underline-offset-4 underline text-dark\">terms and conditions<\/a>\n  <\/label>\n<\/div>\n    <div class=\"text-sm text-red-500 mt-1 error-message\" id=\"error_terms\"><\/div>\n\n    <button type=\"submit\" class=\"bg-primary w-full button text-sm py-2 rounded-md h-10\" name=\"submit\" value=\"Sign Up\">Create Account<\/button>\n    <p class=\"text-sm text-muted text-center mt-15\">Already have an account? <a href=\"https:\/\/pjithub.in\/projects\/realestate\/login\" class=\"underline-offset-4 underline text-dark\">Login here<\/a><\/p>\n  <\/form>\n<\/div>\n\n  <\/div>\n<\/div>\n<\/div>\n<script>\n  function togglePassword(inputId, iconContainer) {\n  const passwordField = document.getElementById(inputId);\n  const icon = iconContainer.querySelector('i');\n\n  if (passwordField.type === \"password\") {\n    passwordField.type = \"text\";\n    icon.classList.remove('bi-eye');\n    icon.classList.add('bi-eye-slash-fill');\n  } else {\n    passwordField.type = \"password\";\n    icon.classList.remove('bi-eye-slash-fill');\n    icon.classList.add('bi-eye');\n  }\n}\n\n\/\/Buyer Form\ndocument.getElementById('wp_signup_form1').addEventListener('submit', function(e) {\n  let valid = true;\n\n  \/\/ Full Name\n  const name = document.getElementById('buyer_name');\n  const nameError = document.getElementById('error_buyer_name');\n  if (name.value.trim() === \"\") {\n    nameError.textContent = \"Please enter a full name\";\n    valid = false;\n  } else {\n    nameError.textContent = \"\";\n  }\n\n  \/\/ Username\n  \/*const username = document.getElementById('buyer_username');\n  const usernameError = document.getElementById('error_buyer_username');\n  if (username.value.trim() === \"\") {\n    usernameError.textContent = \"Username is required\";\n    valid = false;\n  } else {\n    usernameError.textContent = \"\";\n  }*\/\n\n  \/\/ Email\n  const email = document.getElementById('buyer_email');\n  const emailError = document.getElementById('error_buyer_email');\n  if (!email.validity.valid) {\n    emailError.textContent = \"Please enter a valid email address\";\n    valid = false;\n  } else {\n    emailError.textContent = \"\";\n  }\n\n  \/\/ Password\n  const password = document.getElementById('buyer_password');\n  const passwordError = document.getElementById('error_buyer_password');\n  if (!password.value.match(\/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,20}$\/)) {\n    passwordError.textContent = \"Password must be 8-20 characters, include uppercase, lowercase, and number\";\n    valid = false;\n  } else {\n    passwordError.textContent = \"\";\n  }\n\n  \/\/ Confirm Password\n  const passwordConfirm = document.getElementById('buyer_password_confirm');\n  const passwordConfirmError = document.getElementById('error_buyer_password_confirm');\n  if (password.value !== passwordConfirm.value) {\n    passwordConfirmError.textContent = \"Passwords do not match\";\n    valid = false;\n  } else {\n    passwordConfirmError.textContent = \"\";\n  }\n  \/\/ signature\n  const signature = document.getElementById('signature-data');\n  const signatureError = document.getElementById('error_buyer_signature');\n  if (signature.value.trim() === \"\") {\n    signatureError.textContent = \"Please draw signature\";\n    valid = false;\n  } else {\n    signatureError.textContent = \"\";\n  }\n  \/\/ Terms Checkbox\n  const terms = document.getElementById('buyer_terms');\n  const termsError = document.getElementById('error_buyer_terms');\n  if (!terms.checked) {\n    termsError.textContent = \"You must agree to the terms and conditions\";\n    valid = false;\n  } else {\n    termsError.textContent = \"\";\n  }\n\n  if (!valid) {\n    e.preventDefault(); \/\/ Block form submission if invalid\n  }\n});\n\n\/\/Seller Form\n\ndocument.getElementById('wp_signup_form2').addEventListener('submit', function(e) {\n  let valid = true;\n\n  \/\/ Full Name\n  const name = document.getElementById('seller_name');\n  const nameError = document.getElementById('error_seller_name');\n  if (name.value.trim() === \"\") {\n    nameError.textContent = \"Please enter a full name\";\n    valid = false;\n  } else {\n    nameError.textContent = \"\";\n  }\n\n  \/\/ Username\n  \/*const username = document.getElementById('seller_username');\n  const usernameError = document.getElementById('error_seller_username');\n  if (username.value.trim() === \"\") {\n    usernameError.textContent = \"Username is required\";\n    valid = false;\n  } else {\n    usernameError.textContent = \"\";\n  }*\/\n\n  \/\/ Email\n  const email = document.getElementById('seller_email');\n  const emailError = document.getElementById('error_seller_email');\n  if (!email.validity.valid) {\n    emailError.textContent = \"Please enter a valid email address\";\n    valid = false;\n  } else {\n    emailError.textContent = \"\";\n  }\n\n  \/\/ address\n   const address = document.getElementById('seller_address');\n  const addressError = document.getElementById('error_seller_address');\n  if (address.value.trim() === \"\") {\n    addressError.textContent = \"Please enter your address\";\n    valid = false;\n  } else {\n    addressError.textContent = \"\";\n  }\n  \/\/ seller_govt_id_number\n   const govt_id_number = document.getElementById('seller_govt_id_number');\n  const govt_id_numberError = document.getElementById('error_seller_govt_id_number');\n  if (govt_id_number.value.trim() === \"\") {\n    govt_id_numberError.textContent = \"Please enter ID No.\";\n    valid = false;\n  } else {\n    govt_id_numberError.textContent = \"\";\n  }\n\n\n  \/\/phone seller_phone\n  const phone = document.getElementById('seller_phone');\n  const phoneError = document.getElementById('error_seller_phone');\n  if (phone.value.trim() === \"\") {\n    phoneError.textContent = \"Please enter phone number\";\n    valid = false;\n  } else {\n    phoneError.textContent = \"\";\n  }\n  \/\/ Password\n  const password = document.getElementById('user_pass_sel');\n  const passwordError = document.getElementById('error_user_pass_sel');\n  if (!password.value.match(\/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,20}$\/)) {\n    passwordError.textContent = \"Password must be 8-20 characters, include uppercase, lowercase, and number\";\n    valid = false;\n  } else {\n    passwordError.textContent = \"\";\n  }\n\n  \/\/ Confirm Password\n  const passwordConfirm = document.getElementById('user_pass_seller_con');\n  const passwordConfirmError = document.getElementById('error_user_pass_seller_con');\n  if (password.value !== passwordConfirm.value) {\n    passwordConfirmError.textContent = \"Passwords do not match\";\n    valid = false;\n  } else {\n    passwordConfirmError.textContent = \"\";\n  }\n\n  \/\/ signature\n  const signature = document.getElementById('signature-data-seller');\n  const signatureError = document.getElementById('error_seller_signature');\n  if (signature.value.trim() === \"\") {\n    signatureError.textContent = \"Please draw signature\";\n    valid = false;\n  } else {\n    signatureError.textContent = \"\";\n  }\n\n  \/\/ Terms Checkbox\n  const terms = document.getElementById('seller_terms');\n  const termsError = document.getElementById('error_seller_terms');\n  if (!terms.checked) {\n    termsError.textContent = \"You must agree to the terms and conditions\";\n    valid = false;\n  } else {\n    termsError.textContent = \"\";\n  }\n\n  if (!valid) {\n    e.preventDefault(); \/\/ Block form submission if invalid\n  }\n});\n\n\/\/Representative Form\n\ndocument.getElementById('wp_signup_form3').addEventListener('submit', function(e) {\n  let valid = true;\n\n  \/\/ Full Name\n  const name = document.getElementById('rep_name');\n  const nameError = document.getElementById('error_rep_name');\n  if (name.value.trim() === \"\") {\n    nameError.textContent = \"Please enter a full name\";\n    valid = false;\n  } else {\n    nameError.textContent = \"\";\n  }\n\n  \/\/ Username\n  \/*const username = document.getElementById('rep_username');\n  const usernameError = document.getElementById('error_rep_username');\n  if (username.value.trim() === \"\") {\n    usernameError.textContent = \"Username is required\";\n    valid = false;\n  } else {\n    usernameError.textContent = \"\";\n  }*\/\n\n  \/\/ Email\n  const email = document.getElementById('rep_email');\n  const emailError = document.getElementById('error_rep_email');\n  if (!email.validity.valid) {\n    emailError.textContent = \"Please enter a valid email address\";\n    valid = false;\n  } else {\n    emailError.textContent = \"\";\n  }\n\n\n\/\/ address\n   const address = document.getElementById('rep_address');\n  const addressError = document.getElementById('error_rep_address');\n  if (address.value.trim() === \"\") {\n    addressError.textContent = \"Please enter your address\";\n    valid = false;\n  } else {\n    addressError.textContent = \"\";\n  }\n\/\/rep_govt_id_number\nconst govt_id_number = document.getElementById('rep_govt_id_number');\n  const govt_id_numberError = document.getElementById('error_rep_govt_id_number');\n  if (govt_id_number.value.trim() === \"\") {\n    govt_id_numberError.textContent = \"Please enter your ID No.\";\n    valid = false;\n  } else {\n    govt_id_numberError.textContent = \"\";\n  }\n\n  \/\/phone seller_phone\n  const phone = document.getElementById('rep_phone');\n  const phoneError = document.getElementById('error_rep_phone');\n  if (phone.value.trim() === \"\") {\n    phoneError.textContent = \"Please enter phone number\";\n    valid = false;\n  } else {\n    phoneError.textContent = \"\";\n  }\n\n\n\n  \/\/ City Validation\n  const city = document.getElementById('rep_city');\n  const cityError = document.getElementById('error_rep_city');\n  if (!city.value.match(\/^[A-Za-z\\s]{2,50}$\/)) {\n    cityError.textContent = \"Please enter a valid city name (letters & spaces only, 2-50 characters)\";\n    valid = false;\n  } else {\n    cityError.textContent = \"\";\n  }\n\n  \/\/ State Validation (optional if required)\n  const state = document.getElementById('rep_state');\n  const stateError = document.getElementById('error_rep_state');\n  if (state.value.trim() !== \"\" && !state.value.match(\/^[A-Za-z\\s]{2,50}$\/)) {\n    stateError.textContent = \"Please enter a valid state name (letters & spaces only, 2-50 characters)\";\n    valid = false;\n  } else {\n    stateError.textContent = \"\";\n  }\n\n  \/\/ Postal Code Validation (Allow 4 to 10 digits, adjust as per your needs)\n  const postal = document.getElementById('rep_postal_code');\n  const postalError = document.getElementById('error_rep_postal_code');\n  if (!postal.value.match(\/^\\d{4,10}$\/)) {\n    postalError.textContent = \"Please enter a valid postal code (4-10 digits)\";\n    valid = false;\n  } else {\n    postalError.textContent = \"\";\n  }\n\n  \/\/ Password\n  const password = document.getElementById('user_pass_rep');\n  const passwordError = document.getElementById('error_user_pass_rep');\n  if (!password.value.match(\/^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,20}$\/)) {\n    passwordError.textContent = \"Password must be 8-20 characters, include uppercase, lowercase, and number\";\n    valid = false;\n  } else {\n    passwordError.textContent = \"\";\n  }\n\n  \/\/ Confirm Password\n  const passwordConfirm = document.getElementById('user_pass_con');\n  const passwordConfirmError = document.getElementById('error_user_pass_con');\n  if (password.value !== passwordConfirm.value) {\n    passwordConfirmError.textContent = \"Passwords do not match\";\n    valid = false;\n  } else {\n    passwordConfirmError.textContent = \"\";\n  }\n\n\n  \/\/ signature\n  const signature = document.getElementById('signature-data-rep');\n  const signatureError = document.getElementById('error_rep_signature');\n  if (signature.value.trim() === \"\") {\n    signatureError.textContent = \"Please draw signature\";\n    valid = false;\n  } else {\n    signatureError.textContent = \"\";\n  }\n\n  \/\/ Terms Checkbox\n  const terms = document.getElementById('terms');\n  const termsError = document.getElementById('error_terms');\n  if (!terms.checked) {\n    termsError.textContent = \"You must agree to the terms and conditions\";\n    valid = false;\n  } else {\n    termsError.textContent = \"\";\n  }\n\n  if (!valid) {\n    e.preventDefault(); \/\/ Block form submission if invalid\n  }\n});\n<\/script>\n<script >\n    function fillarea(region) {\n        const ajaxurl = 'https:\/\/pjithub.in\/projects\/realestate\/wp-admin\/admin-ajax.php';\n       \/\/alert(region);\n       var selectElement = document.getElementById('area_operation');\n       \/\/selectElement.empty();\n       \/\/selectElement.append();\n       fetch(ajaxurl, {\n        method: \"POST\",\n        headers: {\n          \"Content-Type\": \"application\/x-www-form-urlencoded\",\n        },\n        body: new URLSearchParams({\n          action: \"get_data_area\",\n          region_id: region,\n          \n        }),\n      })\n        .then((res) => res.text())\n        .then((html) => {\n          selectElement.innerHTML  = html;\n          \/\/selectElement.append(html);\n        });\n\n    }\n    \n<\/script>\n<script>\nconst canvas = document.getElementById('signature-pad');\nconst ctx = canvas.getContext('2d');\nlet drawing = false;\n\ncanvas.addEventListener('mousedown', () => drawing = true);\ncanvas.addEventListener('mouseup', () => {\n    drawing = false;\n    ctx.beginPath();\n     saveSignature();\n});\ncanvas.addEventListener('mousemove', draw);\n\nfunction draw(e) {\n    if (!drawing) return;\n\n    ctx.lineWidth = 2;\n    ctx.lineCap = 'round';\n    ctx.strokeStyle = 'black';\n\n    ctx.lineTo(e.offsetX, e.offsetY);\n    ctx.stroke();\n    ctx.beginPath();\n    ctx.moveTo(e.offsetX, e.offsetY);\n}\n\nfunction clearSignature() {\n    ctx.clearRect(0, 0, canvas.width, canvas.height);\n}\n\nfunction saveSignature() {\n    const dataURL = canvas.toDataURL();\n    document.getElementById('signature-data').value = dataURL;\n}\n<\/script>\n\n<script>\nconst canvas_seller = document.getElementById('signature-pad-seller');\nconst ctx_seller = canvas_seller.getContext('2d');\nlet drawing_seller = false;\n\ncanvas_seller.addEventListener('mousedown', () => drawing_seller = true);\ncanvas_seller.addEventListener('mouseup', () => {\n    drawing_seller = false;\n    ctx_seller.beginPath();\n     saveSignature_seller();\n});\ncanvas_seller.addEventListener('mousemove', draw_seller);\n\nfunction draw_seller(e) {\n    if (!drawing_seller) return;\n\n    ctx_seller.lineWidth = 2;\n    ctx_seller.lineCap = 'round';\n    ctx_seller.strokeStyle = 'black';\n\n    ctx_seller.lineTo(e.offsetX, e.offsetY);\n    ctx_seller.stroke();\n    ctx_seller.beginPath();\n    ctx_seller.moveTo(e.offsetX, e.offsetY);\n}\n\nfunction clearSignature_seller() {\n    ctx_seller.clearRect(0, 0, canvas_seller.width, canvas_seller.height);\n}\n\nfunction saveSignature_seller() {\n    const dataURL_seller = canvas_seller.toDataURL();\n    document.getElementById('signature-data-seller').value = dataURL_seller;\n}\n<\/script>\n<script>\nconst canvas_rep = document.getElementById('signature-pad-rep');\nconst ctx_rep = canvas_rep.getContext('2d');\nlet drawing_rep = false;\n\ncanvas_rep.addEventListener('mousedown', () => drawing_rep = true);\ncanvas_rep.addEventListener('mouseup', () => {\n    drawing_rep = false;\n    ctx_rep.beginPath();\n     saveSignature_rep();\n});\ncanvas_rep.addEventListener('mousemove', draw_rep);\n\nfunction draw_rep(e) {\n    if (!drawing_rep) return;\n\n    ctx_rep.lineWidth = 2;\n    ctx_rep.lineCap = 'round';\n    ctx_rep.strokeStyle = 'black';\n\n    ctx_rep.lineTo(e.offsetX, e.offsetY);\n    ctx_rep.stroke();\n    ctx_rep.beginPath();\n    ctx_rep.moveTo(e.offsetX, e.offsetY);\n}\n\nfunction clearSignature_rep() {\n    ctx_rep.clearRect(0, 0, canvas_rep.width, canvas_rep.height);\n}\n\nfunction saveSignature_rep() {\n    const dataURL_rep = canvas_rep.toDataURL();\n    document.getElementById('signature-data-rep').value = dataURL_rep;\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"100-width.php","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-1250","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/pjithub.in\/projects\/realestate\/wp-json\/wp\/v2\/pages\/1250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjithub.in\/projects\/realestate\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pjithub.in\/projects\/realestate\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pjithub.in\/projects\/realestate\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjithub.in\/projects\/realestate\/wp-json\/wp\/v2\/comments?post=1250"}],"version-history":[{"count":1,"href":"https:\/\/pjithub.in\/projects\/realestate\/wp-json\/wp\/v2\/pages\/1250\/revisions"}],"predecessor-version":[{"id":1251,"href":"https:\/\/pjithub.in\/projects\/realestate\/wp-json\/wp\/v2\/pages\/1250\/revisions\/1251"}],"wp:attachment":[{"href":"https:\/\/pjithub.in\/projects\/realestate\/wp-json\/wp\/v2\/media?parent=1250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}