{"id":3316,"date":"2023-10-30T22:31:16","date_gmt":"2023-10-30T22:31:16","guid":{"rendered":"https:\/\/vividprep.co.za\/school\/student-registration\/"},"modified":"2023-10-30T22:31:16","modified_gmt":"2023-10-30T22:31:16","slug":"student-registration","status":"publish","type":"page","link":"https:\/\/vividprep.co.za\/school\/student-registration\/","title":{"rendered":"Student Registration"},"content":{"rendered":"\t<script type=\"text\/javascript\"\tsrc=\"https:\/\/vividprep.co.za\/school\/wp-content\/plugins\/school-management\/assets\/js\/Jquery\/jquery-3.6.0.min.js\"><\/script>\r\n\t<script type=\"text\/javascript\"\tsrc=\"https:\/\/vividprep.co.za\/school\/wp-content\/plugins\/school-management\/assets\/js\/Jquery\/jquery-ui.js\"><\/script>\r\n\t<script type=\"text\/javascript\"\tsrc=\"https:\/\/vividprep.co.za\/school\/wp-content\/plugins\/school-management\/lib\/validationEngine\/js\/languages\/jquery.validationEngine-en.js\"><\/script>\r\n\t<script type=\"text\/javascript\"\tsrc=\"https:\/\/vividprep.co.za\/school\/wp-content\/plugins\/school-management\/lib\/validationEngine\/js\/jquery.validationEngine.js\"><\/script>\r\n\t<script> \r\n\tjQuery(document).ready(function($){\r\n\t\"use strict\";\t\r\n\t$('#registration_form').validationEngine({promptPosition : \"bottomLeft\",maxErrorsPerField: 1});\r\n\t$('#birth_date').datepicker({\r\n\t\tdateFormat: \"yy-mm-dd\",\r\n\t\tmaxDate:0,\r\n\t\tchangeMonth: true,\r\n\t\tchangeYear: true,\r\n\t\tyearRange:'-65:+25',\r\n\t\tonChangeMonthYear: function(year, month, inst) {\r\n\t\t\t$(this).val(month + \"\/\" + year);\r\n\t\t}\r\n    }); \r\n\t    \/\/custom field datepicker\r\n\t\t$('.after_or_equal').datepicker({\r\n\t\t\tdateFormat: \"yy-mm-dd\",\t\t\t\t\t\t\t\t\t\t\r\n\t\t\tminDate:0,\r\n\t\t\tbeforeShow: function (textbox, instance) \r\n\t\t\t{\r\n\t\t\t\tinstance.dpDiv.css({\r\n\t\t\t\t\tmarginTop: (-textbox.offsetHeight) + 'px'                   \r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}); \r\n\t\t$('.date_equals').datepicker({\r\n\t\t\tdateFormat: \"yy-mm-dd\",\r\n\t\t\tminDate:0,\r\n\t\t\tmaxDate:0,\t\t\t\t\t\t\t\t\t\t\r\n\t\t\tbeforeShow: function (textbox, instance) \r\n\t\t\t{\r\n\t\t\t\tinstance.dpDiv.css({\r\n\t\t\t\t\tmarginTop: (-textbox.offsetHeight) + 'px'                   \r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}); \r\n\t\t$('.before_or_equal').datepicker({\r\n\t\t\tdateFormat: \"yy-mm-dd\",\r\n\t\t\tmaxDate:0,\r\n\t\t\tbeforeShow: function (textbox, instance) \r\n\t\t\t{\r\n\t\t\t\tinstance.dpDiv.css({\r\n\t\t\t\t\tmarginTop: (-textbox.offsetHeight) + 'px'                   \r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}); \r\n\r\n\t\t$('.space_validation').on('keypress',function( e ) \r\n\t\t{\r\n\t\t   if(e.which === 32) \r\n\t\t\t return false;\r\n\t\t});\t\t\t\t\t\t\t\t\t\r\n\t\t\r\n\t\t\/\/Custom Field File Validation\/\/\r\n\t\tfunction Smgt_custom_filed_fileCheck(obj)\r\n\t\t{\t\r\n\t\t   \"use strict\";\r\n\t\t\tvar fileExtension = $(obj).attr('file_types');\r\n\t\t\tvar fileExtensionArr = fileExtension.split(',');\r\n\t\t\tvar file_size = $(obj).attr('file_size');\r\n\t\t\t\r\n\t\t\tvar sizeInkb = obj.files[0].size\/1024;\r\n\t\t\t\r\n\t\t\tif ($.inArray($(obj).val().split('.').pop().toLowerCase(), fileExtensionArr) == -1)\r\n\t\t\t{\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\talert(\"Only \"+fileExtension+\"formats are allowed.\");\r\n\t\t\t\t$(obj).val('');\r\n\t\t\t}\t\r\n\t\t\telse if(sizeInkb > file_size)\r\n\t\t\t{\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\talert(\"Only \"+file_size+\" kb size is allowed\");\r\n\t\t\t\t$(obj).val('');\t\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n\tfunction fileCheck(obj) \r\n\t{\r\n\t\tvar fileExtension = ['jpeg', 'jpg', 'png', 'bmp',''];\r\n\t\tif ($.inArray($(obj).val().split('.').pop().toLowerCase(), fileExtension) == -1)\r\n\t\t{\r\n\t\t\talert(\"Only \"+fileExtension+\"formats are allowed.\");\r\n\t\t\t$(obj).val('');\r\n\t\t}\t\r\n\t}\r\n\t<\/script>\r\n\t\t<style>\r\n\t\t.entry-content\r\n\t\t{\r\n\t\t\tfont-family: Poppins!important;\r\n\t\t}\r\n\t\tbody\r\n\t\t{\r\n\t\t\tfont-style: normal!important;\r\n    \t\tfont-family: Poppins!important;\r\n\t\t}\r\n\t\t.save_btn\r\n\t\t{\r\n\t\t\theight: 46px;\r\n\t\t\tbackground-color: #5840bb !important;\r\n\t\t\tbackground: #5840bb;\r\n\t\t\tcolor: #fff !important;\r\n\t\t\twidth: 100% !important;\r\n\t\t\tfont-weight: 500 !important;\r\n\t\t\tfont-size: 16px !important;\r\n\t\t\tline-height: 24px;\r\n\t\t\ttext-align: center;\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\ttext-transform: uppercase;\r\n\t\t\tborder: 0px solid black !important;\r\n\t\t}\r\n\t\t.line_height_29px_registration_from\r\n\t\t{\r\n\t\t\tline-height: 29px !important;\r\n\t\t}\r\n\t\t.line_height_27px_registration_from\r\n\t\t{\r\n\t\t\tline-height: 25px !important;\r\n\t\t}\r\n\t\t.form-control:focus\r\n\t\t{\r\n\t\t\tbox-shadow: 0 0 0 0rem rgb(13 110 253 \/ 25%) !important;\r\n\t\t}\r\n\t<\/style>\r\n\t<div class=\"student_registraion_form\">\r\n    \t<form id=\"registration_form\" action=\"\/school\/wp-json\/wp\/v2\/pages\/3316\" method=\"post\" enctype=\"multipart\/form-data\">\r\n\t\t\t<div class=\"form-body user_form\"> <!------  Form Body -------->\r\n\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t<div class=\"col-md-6 input error_msg_left_margin\">\r\n\t\t\t\t\t\t<label class=\"ml-1 custom-top-label top\" for=\"hmgt_contry\">Class Name<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t<select name=\"class_name\" class=\"line_height_27px_registration_from form-control validate[required] width_100\" id=\"class_name\">\r\n\t\t\t\t\t\t\t<option value=\"\">Select Class<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"1\" >Eastry 3-24 month 6:30 - 18:00 (Fri 17:00) Class <\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"2\" >Riversdale 3-24 mo 6:30 - 18:00 (Fri 17:00) Class <\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"3\" >Eastry 3-24 month 6:30 - 14:30 Class<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"4\" >Riversdale  3-24 month 6:30 - 14:30 Class<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"5\" >Eastry 3-24 month  6:30 - 12:30 Class<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"6\" >Riversdale 3-24 month 6:30 - 12:30 Class<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"8\" >Eastry 2-6 years 6:30 - 18:00 (Fri 17:00) Class <\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"9\" >Riversda 2-6 years 6:30 - 18:00 (Fri 17:00) Class <\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"10\" >Eastry 2-6 years 6:30 - 14:30 Class <\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"11\" >Riversdale 2-6 years 6:30 - 14:30 Class <\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"12\" >Eastry 2-6 years 6:30 - 12:30 Class <\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"13\" >Riversdale 2-6 years 6:30 - 12:30 Class <\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"14\" >Eastry Aftercare<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"15\" >Riversdale Aftercare<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"16\" >Holiday<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"17\" >Holiday Program Siblings<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"18\" >AfterSchool Madrassah<\/option>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/select>                              \r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-6 error_msg_left_margin\">\r\n\t\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t\t<input  class=\"line_height_29px_registration_from form-control text-input\" type=\"text\" readonly value=\"&#82; 700\">\r\n\t\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Registration Fees<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<input id=\"registration_fees\" class=\"form-control\" type=\"hidden\"  name=\"registration_fees\" value=\"1\">\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"first_name\" class=\"line_height_29px_registration_from form-control validate[required,custom[onlyLetter_specialcharacter]] text-input\" maxlength=\"50\" type=\"text\" value=\"\" name=\"first_name\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">First Name<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"middle_name\" class=\"line_height_29px_registration_from form-control validate[custom[onlyLetter_specialcharacter]]\" maxlength=\"50\" type=\"text\"  value=\"\" name=\"middle_name\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Middle Name<\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"last_name\" class=\"line_height_29px_registration_from form-control validate[required,custom[onlyLetter_specialcharacter]] text-input\" maxlength=\"50\" type=\"text\"  value=\"\" name=\"last_name\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Last Name<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6 res_margin_bottom_20px\">\r\n\t\t\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<div class=\"row padding_radio\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"input-group\">\r\n\t\t\t\t\t\t\t\t\t\t<label class=\"custom-top-label margin_left_0\">Gender<span class=\"required\">*<\/span><\/label>\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"d-inline-block\">\r\n\t\t\t\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" value=\"male\" class=\"tog validate[required]\" name=\"gender\"   checked='checked'\/>\r\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"custom-control-label margin_right_20px\" for=\"male\">Male<\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t&nbsp;&nbsp;\r\n\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" value=\"female\" class=\"tog validate[required]\" name=\"gender\"  \/>\r\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"custom-control-label\" for=\"female\">Female<\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t&nbsp;&nbsp;\r\n\t\t\t\t\t\t\t\t\t\t\t<input type=\"radio\" value=\"other\" class=\"tog validate[required]\" name=\"gender\"  \/>\r\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"custom-control-label\" for=\"female\">Other<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"birth_date\" class=\"line_height_29px_registration_from validate[required]\" type=\"text\"  name=\"birth_date\" value=\"2026-04-20\" readonly>\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Date of Birth<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"address\" class=\"line_height_29px_registration_from form-control validate[required,custom[address_description_validation]]\" maxlength=\"120\" type=\"text\"  name=\"address\" value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Address<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"city_name\" class=\"line_height_29px_registration_from form-control validate[required,custom[city_state_country_validation]]\" maxlength=\"50\" type=\"text\"  name=\"city_name\" value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">City<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"state_name\" class=\"line_height_29px_registration_from form-control validate[custom[city_state_country_validation]]\" maxlength=\"50\" type=\"text\"  name=\"state_name\" value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">State<\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"zip_code\" class=\"form-control line_height_29px_registration_from validate[required,custom[zipcode]]\" maxlength=\"15\" type=\"text\"  name=\"zip_code\" value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Zip Code<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\r\n\t\t\t\t\t<div class=\"col-md-2\">\r\n\t\t\t\t\t\t<div class=\"form-group input margin_bottom_0\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input type=\"text\" readonly value=\"+27\"  class=\"line_height_29px_registration_from country_code_res\" name=\"phonecode\">\r\n\t\t\t\t\t\t\t\t<label for=\"phonecode\" class=\"pl-2\">Code<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-4 mobile_error_massage_left_margin\">\r\n\t\t\t\t\t\t<div class=\"form-group input margin_bottom_0\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"mobile_number\" class=\"line_height_29px_registration_from form-control text-input validate[required,custom[phone_number],minSize[6],maxSize[15]]\" type=\"text\"  name=\"mobile_number\" maxlength=\"10\"value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput6\">Mobile Number<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t<div class=\"col-md-2\">\r\n\t\t\t\t\t\t<div class=\"form-group input margin_bottom_0\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input type=\"text\" readonly value=\"+27\"  class=\"line_height_29px_registration_from\" name=\"alter_mobile_number\">\r\n\t\t\t\t\t\t\t\t<label for=\"phonecode\" class=\"pl-2\">Code<\/label>\r\n\t\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-4 mobile_error_massage_left_margin\">\r\n\t\t\t\t\t\t<div class=\"form-group input margin_bottom_0\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"alternet_mobile_number\" class=\"line_height_29px_registration_from form-control text-input\" type=\"text\"  name=\"alternet_mobile_number\" maxlength=\"10\"value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput6\">Alternate Mobile Number<\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"phone\" class=\"line_height_29px_registration_from form-control text-input validate[custom[phone_number],minSize[6],maxSize[15]]\" maxlength=\"10\" type=\"text\"  name=\"phone\" value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Phone<\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"email\" class=\"line_height_29px_registration_from form-control validate[required,custom[email]] text-input\" maxlength=\"100\" type=\"text\"  name=\"email\" value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Email<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control\">\r\n\t\t\t\t\t\t\t\t<input id=\"password\" class=\"line_height_29px_registration_from form-control validate[required,minSize[8],maxSize[12]]\" type=\"password\"  name=\"password\" value=\"\">\r\n\t\t\t\t\t\t\t\t<label for=\"userinput1\" class=\"active\">Password<span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t<div class=\"col-md-12 form-control upload-profile-image-patient res_rtl_height_50px\" style=\"padding:0px;padding-left:10px;\">\t\r\n\t\t\t\t\t\t\t\t<div class=\"col-sm-12 display_flex\">\r\n\t\t\t\t\t\t\t\t\t<input type=\"file\" style=\"border:0px;margin-bottom:0px;\" class=\"form-control\" onchange=\"fileCheck(this);\" name=\"smgt_user_avatar\">\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t<!-- <div class=\"header\">\r\n\t\t\t\t\t<h3>Custom Fields<\/h3>\r\n\t\t\t\t<\/div>-->\r\n\t\t\t\t<div class=\"form-body user_form\">\r\n\t\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-12 form-control upload-profile-image-patient res_rtl_height_50px\">\t\r\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"photo\" class=\"custom-control-label custom-top-label ml-2\">Birth Certificate <span class=\"required red\">*<\/span><\/label>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-12 display_flex\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"hidden_custom_file[1]\" value=\"\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"file\"  onchange=\"mj_smgt_custom_filed_fileCheck(this);\" Class=\"hideattarstudent validate[required] \" name=\"custom_file[1]\"  id=\"1\" file_types=\"png,jpg,pdf,doc\" file_size=\"100\">\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<div class=\"col-md-6\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"form-group input\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-12 form-control upload-profile-image-patient res_rtl_height_50px\">\t\r\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"photo\" class=\"custom-control-label custom-top-label ml-2\">Medical Cart<span class=\"required red\">*<\/span><\/label>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-12 display_flex\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"hidden_custom_file[2]\" value=\"\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"file\"  onchange=\"mj_smgt_custom_filed_fileCheck(this);\" Class=\"hideattarstudent validate[required] \" name=\"custom_file[2]\"  id=\"2\" file_types=\"png,jpg,pdf,doc\" file_size=\"100\">\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div> \r\n\t\t\t\t\t\t\t<input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"81f1f94d22\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/school\/wp-json\/wp\/v2\/pages\/3316\" \/>\t\t\t<div class=\"form-body user_form\">\r\n\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t<div class=\"col-sm-6\">        \t\r\n\t\t\t\t\t\t<input type=\"submit\" value=\"Registration\" name=\"save_student_front\" class=\"btn btn-success btn_style save_btn\"\/>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n   \t\t<\/form>\r\n\t<\/div>\r\n\t<script>\r\n\t\/\/Custom Field File Validation\/\/\r\n\tfunction mj_smgt_custom_filed_fileCheck(obj)\r\n\t{\t\r\n\t\t\"use strict\";\r\n\t\tvar fileExtension = $(obj).attr('file_types');\r\n\t\tvar fileExtensionArr = fileExtension.split(',');\r\n\t\tvar file_size = $(obj).attr('file_size');\r\n\t\t\r\n\t\tvar sizeInkb = obj.files[0].size\/1024;\r\n\t\t\r\n\t\tif ($.inArray($(obj).val().split('.').pop().toLowerCase(), fileExtensionArr) == -1)\r\n\t\t{\t\t\t\t\t\t\t\t\t\t\r\n\t\t\talert(\"Only \"+fileExtension+\" formats are allowed.\");\r\n\t\t\t$(obj).val('');\r\n\t\t}\t\r\n\t\telse if(sizeInkb > file_size)\r\n\t\t{\t\t\t\t\t\t\t\t\t\t\r\n\t\t\talert(\"Only \"+file_size+\" kb size is allowed.\");\r\n\t\t\t$(obj).val('');\t\r\n\t\t}\r\n\t}\r\n\r\n\t\tjQuery(document).ready(function($)\r\n\t\t{\r\n\t\t\t$('.custom_datepicker').datepicker({\r\n\t\t\t\t\tendDate: '+0d',\r\n\t\t\t\t\tautoclose: true,\r\n\t\t\t\t\torientation: \"bottom\" \/\/ <-- and add this\r\n\t\t\t}); \r\n\t\t});\r\n\t<\/script>\r\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":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"class_list":["post-3316","page","type-page","status-publish","hentry","page--item"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/vividprep.co.za\/school\/wp-json\/wp\/v2\/pages\/3316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vividprep.co.za\/school\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vividprep.co.za\/school\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vividprep.co.za\/school\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vividprep.co.za\/school\/wp-json\/wp\/v2\/comments?post=3316"}],"version-history":[{"count":0,"href":"https:\/\/vividprep.co.za\/school\/wp-json\/wp\/v2\/pages\/3316\/revisions"}],"wp:attachment":[{"href":"https:\/\/vividprep.co.za\/school\/wp-json\/wp\/v2\/media?parent=3316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}