CINXE.COM
Connect with FRANK today
<!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title> Connect with FRANK today </title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="keywords" content="OCBC, OCBC Internet Banking, OCBC Bank" /><meta name="copyright" content="@copy; 2010 OCBC" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta http-equiv="Pragma" content="no-cache" /><meta http-equiv="Cache-Control" content="no-cache,no-store" /><meta http-equiv="X-Frame-Options" content="SAMEORIGIN" /> <style type="text/css"> html{display : none ; } ::-ms-reveal { display: none; } </style> <link type="text/css" href="/internet-banking/Content/themes/ofe/css/plugins.css?v=5F32449F-DF47-4E65-BA79-F9B920240328014841" rel="stylesheet" media="screen,projection" /> <link type="text/css" href="/internet-banking/Content/themes/ofe/css/dropdown.css?v=5F32449F-DF47-4E65-BA79-F9B920240328014841" rel="stylesheet" media="screen,projection" /> <link type="text/css" href="/internet-banking/Content/themes/ofe/css/print.css?v=5F32449F-DF47-4E65-BA79-F9B920240328014841" rel="stylesheet" media="print" /> <script type="text/javascript" src="/internet-banking/Content/themes/common/js/jquery.min.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841"></script> <script type="text/javascript" src="/internet-banking/Content/themes/common/js/jquery.cookie.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841"></script> <script type="text/javascript" src="/internet-banking/Content/themes/common/misc/plugins/uniform/js/jquery.uniform.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841"></script> <script type="text/javascript" src="/internet-banking/Content/themes/common/misc/plugins/datepicker/js/datepicker.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841"></script> <script type="text/javascript" src="/internet-banking/Content/themes/common/js/functions.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841"></script> <script type="text/javascript" src="/internet-banking/Content/themes/common/js/Common.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841"></script> <script type="text/javascript" src="/internet-banking/Content/themes/common/js/jquery.upload-1.0.2.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841"></script> <script src="/internet-banking/Content/themes/common/js/jquery.json-2.2.min.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841" type="text/javascript"></script> <script type="text/javascript"> try { if (top.location.hostname == "") { document.documentElement.style.display = 'none'; top.location = self.location; } else { document.documentElement.style.display = 'block' ; }} catch (err) { document.documentElement.style.display = 'none'; top.location = self.location; } var isSubmitted = false; </script> <script>(window.BOOMR_mq=window.BOOMR_mq||[]).push(["addVar",{"rua.upush":"false","rua.cpush":"false","rua.upre":"false","rua.cpre":"false","rua.uprl":"false","rua.cprl":"false","rua.cprf":"false","rua.trans":"","rua.cook":"false","rua.ims":"false","rua.ufprl":"false","rua.cfprl":"false","rua.isuxp":"false","rua.texp":"norulematch","rua.ceh":"false","rua.ueh":"false","rua.ieh.st":"0"}]);</script> <script>!function(a){var e="https://s.go-mpulse.net/boomerang/",t="addEventListener";if("False"=="True")a.BOOMR_config=a.BOOMR_config||{},a.BOOMR_config.PageParams=a.BOOMR_config.PageParams||{},a.BOOMR_config.PageParams.pci=!0,e="https://s2.go-mpulse.net/boomerang/";if(window.BOOMR_API_key="A85U3-9Q4P2-A3S7F-WZYTG-ZY4VB",function(){function n(e){a.BOOMR_onload=e&&e.timeStamp||(new Date).getTime()}if(!a.BOOMR||!a.BOOMR.version&&!a.BOOMR.snippetExecuted){a.BOOMR=a.BOOMR||{},a.BOOMR.snippetExecuted=!0;var i,_,o,r=document.createElement("iframe");if(a[t])a[t]("load",n,!1);else if(a.attachEvent)a.attachEvent("onload",n);r.src="javascript:void(0)",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="width:0;height:0;border:0;display:none;",o=document.getElementsByTagName("script")[0],o.parentNode.insertBefore(r,o);try{_=r.contentWindow.document}catch(O){i=document.domain,r.src="javascript:var d=document.open();d.domain='"+i+"';void(0);",_=r.contentWindow.document}_.open()._l=function(){var a=this.createElement("script");if(i)this.domain=i;a.id="boomr-if-as",a.src=e+"A85U3-9Q4P2-A3S7F-WZYTG-ZY4VB",BOOMR_lstart=(new Date).getTime(),this.body.appendChild(a)},_.write("<bo"+'dy onload="document._l();">'),_.close()}}(),"".length>0)if(a&&"performance"in a&&a.performance&&"function"==typeof a.performance.setResourceTimingBufferSize)a.performance.setResourceTimingBufferSize();!function(){if(BOOMR=a.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.AK){var e=""=="true"?1:0,t="",n="bdpnbeqxgqubcz2c2sjq-f-66209aae1-clientnsv4-s.akamaihd.net",i="false"=="true"?2:1,_={"ak.v":"39","ak.cp":"828826","ak.ai":parseInt("522175",10),"ak.ol":"0","ak.cr":0,"ak.ipv":4,"ak.proto":"http/1.1","ak.rid":"54279884","ak.r":41723,"ak.a2":e,"ak.m":"a","ak.n":"essl","ak.bpcip":"8.222.208.0","ak.cport":56248,"ak.gh":"23.52.40.14","ak.quicv":"","ak.tlsv":"tls1.2","ak.0rtt":"","ak.0rtt.ed":"","ak.csrc":"-","ak.acc":"reno","ak.t":"1732433043","ak.ak":"hOBiQwZUYzCg5VSAfCLimQ==1vRb5Dl4crHpqvGoWRKMfVbxEEf5bOHHHoDCrfnxWGnH4fdSFmtkIS4Ex/DopPbAuJexfCGk5Cka7FjbFH0+5F3xdDHvlqRrhGDT+aEL8p5ChBtBkQPa9SVbY9KrXY8F1gzoUKtIxvNF/fB8ByZ1pCz8sHpDqG7070uFCH4fnAJIynk/Br1USbEoEkEclmBqzB//kF0XXX5oXdBpgeE6KtkLYbcLHZpuZtvNQictPkg5XiNxpMH8/N5R8CoMA431sy9H0fULOIA/u3dp3f52dOHf1WNCe4M2plCTdK9h3mxBeRAxbL/vhw83cQkNBiCMuEFZhXXLD4EybK58VsxBWKdEZmGhZw4xTmL4WJjQ2tUV6sBiRijoA9hucXwQIEDgVzWD4ORkaSIi+Ebt82VhbSTHbLfGbAsNlOoyUvOXAbk=","ak.pv":"97","ak.dpoabenc":"","ak.tf":i};if(""!==t)_["ak.ruds"]=t;var o={i:!1,av:function(e){var t="http.initiator";if(e&&(!e[t]||"spa_hard"===e[t]))_["ak.feo"]=void 0!==a.aFeoApplied?1:0,BOOMR.addVar(_)},rv:function(){var a=["ak.bpcip","ak.cport","ak.cr","ak.csrc","ak.gh","ak.ipv","ak.m","ak.n","ak.ol","ak.proto","ak.quicv","ak.tlsv","ak.0rtt","ak.0rtt.ed","ak.r","ak.acc","ak.t","ak.tf"];BOOMR.removeVar(a)}};BOOMR.plugins.AK={akVars:_,akDNSPreFetchDomain:n,init:function(){if(!o.i){var a=BOOMR.subscribe;a("before_beacon",o.av,null,null),a("onbeacon",o.rv,null,null),o.i=!0}return this},is_complete:function(){return!0}}}}()}(window);</script></head> <body style="padding: 15px;"> <div id="processingDiv" class="ajax-loader"> <div class="overlay"></div> <div class="modal-box"> <div></div> </div> </div> <!-- MAIN CONTENT --> <div id="Content" class ="ofe"> <div class="row full"> <div class="fieldgroup sub-item"> <img src="/internet-banking/Content/themes/ofe/images/ocbc-logo.png" width="213" height="63"/> </div> </div> <h1>Connect with FRANK today</h1> <script type="text/javascript"> $(document).ready(function () { $('#processingDiv').hide(); }); </script> <div id="formContentModal" class="clearfix"> <script src="//assets.adobedtm.com/f8f9776f70c5/929d6c7fc7b8/launch-4fb16aaa7062.min.js" async></script> <script type="text/javascript" src="/internet-banking/Content/themes/common/js/adobe_dtm_wrapper.js?v=5F32449F-DF47-4E65-BA79-F9B920240328014841"></script> <script type="text/javascript">wrapper.Init( true , true )</script> <script type="text/javascript"> function ChangeAccount(acct) { if(acct == null) { UpdateAddress(acct.id, ''); } else { UpdateAddress(acct.id, acct.value); } } function UpdateAddress(acct, acctNo) { if(acctNo != '') { var acctList = {}; var address = acctList[acctNo].TotalAddress; document.getElementById(acct + '_Addr').innerHTML = address; } else { document.getElementById(acct + '_Addr').innerHTML = ''; } } try { var callBack = "No"; var dynamicData = { dynPageData : { CallBack : callBack, Platform : "INB" } } var digitalData = { page: { pageName:"SG:OCBC:PublicWeb:OnlineForm:FormView", channel:"PublicWeb", subSection2:"OnlineForm" } } } catch(err) { if(window.console) { console.log("Exception during construct data layer: " + err.Message); } } window.onbeforeunload = function(){ if (typeof wrapper !== "undefined") { wrapper.Track('TrackCompletedSectionsPageAbandon'); } }; function TrackEntry() { if (typeof wrapper !== "undefined") { wrapper.Track("TrackCompletedSections"); } } </script> <link type="text/css" href="/internet-banking/Content/themes/ofe/css/ofe_custom.css" rel="stylesheet" media="screen,projection,print" /> <style type="text/css"></style> <script type ="text/javascript"> var controlTypeList = {}; var form = new Form(); function Control(controlTypeName) { this.Name = controlTypeName; this.Properties = []; } function Property(propertyName, value) { this.PropertyName = propertyName; this.Value = value; } function PropertyMetaData(propertyName) { this.Name = propertyName; } function Form(formId) { this.Fields = []; //NOTE: to use array instead of associative array (dictionary) so can be used for serialization without creating special model binder this.Properties = []; this.Pages = []; } function Field(controlType, fieldName, pageName, sectionName) { this.Name = fieldName; this.ControlName = controlType.Name; this.PageName = pageName; this.SectionName = sectionName; var fieldProperties = []; //NOTE: to use array instead of associative array (dictionary) so can be used for serialization without creating special model binder for (var index in controlType.Properties) { var property = controlType.Properties[index]; var propertyValue = new Property(property.Name, (property.DefaultValue != null ? property.DefaultValue : "")); if (property.Name == "Name") { propertyValue.Value = fieldName; } fieldProperties.push(propertyValue); } this.Properties = fieldProperties; } function AddFormField(controlName, fieldName, pageName, sectionName) { try{ var selectedControlType = controlTypeList[controlName]; if (selectedControlType == null) { throw controlName + " is not found in Control Type Collection"; } var newField = new Field(selectedControlType, fieldName, pageName, sectionName); form.Fields.push(newField); return newField; } catch (err) { alert(err); } } function GetPropertyValue(properties, propertyName) { for(var index in properties) { if(properties[index].PropertyName == propertyName) { return properties[index].Value; } } } function GetValueFromObject(tempFormObject, tempPropertyObject) { for (var index in tempFormObject.Properties) { var tempFieldProperty = tempFormObject.Properties[index]; for (var index2 in tempPropertyObject.Properties) { var fieldProperty = tempPropertyObject.Properties[index2]; if (fieldProperty.PropertyName == tempFieldProperty.PropertyName) { fieldProperty.Value = tempFieldProperty.Value; } } } } function RefreshCaptcha() { //$('#processingDiv').show(); $.ajax({ type: "GET", cache: false, url: '/internet-banking/PublicOnlineForm/RegenCaptcha', success: function (data) { if (data == "OK") { d = new Date(); var tempCaptcha = $('#registration-captcha').attr('src'); $('#registration-captcha').attr('src', '/internet-banking/Content/themes/ofe/images/ajax-module-loader.gif'); if (tempCaptcha == "" || tempCaptcha === undefined) tempCaptcha = '/internet-banking/PublicFormCaptcha/GenCaptcha'; var qIdx = tempCaptcha.indexOf("?"); if (qIdx > 0) tempCaptcha = tempCaptcha.substring(0, qIdx); tempCaptcha += "?" + d.getTime(); $('#registration-captcha').attr('src', tempCaptcha); $('#Captcha').val(''); } $('#processingDiv').hide(); }, error: function (request) { $('#processingDiv').hide(); } }); } function ShowPostalCode(addressId) { var countrySelected = $('#_OFE_'+addressId+'_Country').val(); if (countrySelected == "MY") { $('#uniform-_OFE_'+addressId+'_State').width(200); $('#postal_'+addressId).show(); } else{ $('#postal_'+addressId).hide(); } } function evaluateExpression(expression, conditionalField, expressionValue, fieldName, type, onEvent) { if (type == "Time") { conditionalField = "value" + '_OFE_' + conditionalField; } else { conditionalField = '_OFE_' + conditionalField; } var checkboxes = $('input:checkbox[name=' + conditionalField + ']:checked'); var isValid = false; var ele = document.getElementById(conditionalField); var value = ''; if(ele != null){ value = ele.getAttribute("value"); } if (expression == "=") { if (checkboxes.length > 0) { checkboxes.each(function () { if ($(this).val() == expressionValue) { isValid = true; return false; } }); } else { if (typeof $('input:radio[name=' + conditionalField + ']:checked').val() != "undefined" && $('input:radio[name=' + conditionalField + ']:checked').val() == expressionValue) { isValid = true; } else if ($('#' + conditionalField + '').val() == expressionValue || (value == expressionValue)) { isValid = true; } else { isValid = false; } } } else if (expression == ">") { if (checkboxes.length > 0) { checkboxes.each(function () { if (parseInt($(this).val()) > parseInt(expressionValue)) { isValid = true; return false; } }); } else { if (typeof $('input:radio[name=' + conditionalField + ']:checked').val() != "undefined" && parseInt($('input:radio[name=' + conditionalField + ']:checked').val()) > parseInt(expressionValue)) { isValid = true; } else if (parseInt($('#' + conditionalField + '').val()) > parseInt(expressionValue) || (parseInt(value) > parseInt(expressionValue))) { isValid = true; } else { isValid = false; } } } else if (expression == "<") { if (checkboxes.length > 0) { checkboxes.each(function () { if (parseInt($(this).val()) < parseInt(expressionValue)) { isValid = true; return false; } }); } else { if (typeof $('input:radio[name=' + conditionalField + ']:checked').val() != "undefined" && parseInt($('input:radio[name=' + conditionalField + ']:checked').val()) < parseInt(expressionValue)) { isValid = true; } else if (parseInt($('#' + conditionalField + '').val()) < parseInt(expressionValue) || (parseInt(value) < parseInt(expressionValue))) { isValid = true; } else { isValid = false; } } } else if (expression == ">=") { if (checkboxes.length > 0) { checkboxes.each(function () { if ($(this).val() >= expressionValue) { isValid = true; return false; } }); } else { if (typeof $('input:radio[name=' + conditionalField + ']:checked').val() != "undefined" && $('input:radio[name=' + conditionalField + ']:checked').val() >= expressionValue) { isValid = true; } else if (parseInt($('#' + conditionalField + '').val()) >= parseInt(expressionValue) || (parseInt(value) >= parseInt(expressionValue))) { isValid = true; } else { isValid = false; } } } else if (expression == "<=") { if (checkboxes.length > 0) { checkboxes.each(function () { if (parseInt($(this).val()) <= parseInt(expressionValue)) { isValid = true; return false; } }); } else { if (typeof $('input:radio[name=' + conditionalField + ']:checked').val() != "undefined" && parseInt($('input:radio[name=' + conditionalField + ']:checked').val()) <= parseInt(expressionValue)) { isValid = true; } else if (parseInt($('#' + conditionalField + '').val()) <= parseInt(expressionValue) || (parseInt(value) <= parseInt(expressionValue))) { isValid = true; } else { isValid = false; } } } else if (expression == "!=") { if (checkboxes.length > 0) { checkboxes.each(function () { if ($(this).val() != expressionValue) { isValid = true; return false; } }); } else { if (typeof $('input:radio[name=' + conditionalField + ']:checked').val() != "undefined" && $('input:radio[name=' + conditionalField + ']:checked').val() == expressionValue) { isValid = false; } else if ($('#' + conditionalField + '').val() == expressionValue || (value == expressionValue)) { isValid = false; } else { isValid = true; } // if (typeof $('input:radio[name=' + conditionalField + ']:checked').val() != "undefined" && $('input:radio[name=' + conditionalField + ']:checked').val() != expressionValue) { // isValid = true; // } else if ($('#' + conditionalField + '').val() != expressionValue) { // isValid = true; // } else { // isValid = false; // } } } var isHideFields = false; var hiddenFieldsArray = []; var propertiesArray = []; for (var index in form.Fields) { if (form.Fields[index].Name == fieldName) { var tempProp = form.Fields[index].Properties; if (GetPropertyValue(tempProp, "ConditionalLogicFlag") == "Yes") { if (GetPropertyValue(tempProp, "Action") == "Hide") { if (GetPropertyValue(tempProp, "ExpressionValue") != "") { if (isValid) { $('#' + fieldName + '.fieldgroup').hide(); isHideFields = true; hiddenFieldsArray.push('#' + fieldName + '.fieldgroup'); propertiesArray.push(tempProp); } else { $('#' + fieldName + '.fieldgroup').show(); } } } else { if (GetPropertyValue(tempProp, "ExpressionValue") != "") { if (isValid) { $('#' + fieldName + '.fieldgroup').show(); } else { $('#' + fieldName + '.fieldgroup').hide(); isHideFields = true; hiddenFieldsArray.push('#' + fieldName + '.fieldgroup'); propertiesArray.push(tempProp); } } } } } } if (isHideFields && onEvent) ResetToggledOption(hiddenFieldsArray, propertiesArray); } function ResetToggledOption(hiddenFieldsArray, propertiesArray) { for (var i=0; i<hiddenFieldsArray.length; i++) { var fieldName = hiddenFieldsArray[i].substring(1, hiddenFieldsArray[i].indexOf('.')); var selector = hiddenFieldsArray[i]; var defaultValue = GetPropertyValue(propertiesArray[i], "DefaultValue"); var timeFormat = GetPropertyValue(propertiesArray[i], "TimeInputType"); var dateFormat = GetPropertyValue(propertiesArray[i], "DateInputType"); $(selector).find(':input').each(function() { if (this.type == 'submit' || this.type == 'button') { //do nothing } else if (this.type.indexOf('select') != -1) { if (timeFormat != '' && timeFormat != 'undefined') //Used to reset time { var hour, minutes, time; var day, month, year; if (timeFormat == '24hr format') //Handled differently for 12 and 24 hours format { if (defaultValue != '' && defaultValue != 'undefined') { hour = parseInt(defaultValue.split(':')[0]); minutes = parseInt(defaultValue.split(':')[1]); if ($(this).attr('class') == 'hour_drop_down') $(this).val(hour).change(); else $(this).val(minutes).change(); } else { $(this).find('option:first').attr('selected', 'selected'); } } else if (timeFormat == '12hr format') { if (defaultValue != '' && defaultValue != 'undefined') { hour = parseInt(defaultValue.split(':')[0]); minutes = parseInt(defaultValue.split(':')[1]); if ($(this).attr('class') == 'hour_drop_down') $(this).val(hour-12).change(); else if ($(this).attr('class') == 'minute_drop_down') $(this).val(minutes).change(); else { if (hour<12) $(this).val("AM").change(); else $(this).val("PM").change(); } } else { $(this).find('option:first').attr('selected', 'selected'); } } else { if (dateFormat != '' && dateFormat != 'undefined') //Used to reset date { var date = new Date(); month = date.getMonth() + 1; day = date.getDate(); year = date.getFullYear(); if (defaultValue != '' && defaultValue != 'undefined') { if (defaultValue == 'Today' || defaultValue == 'Tomorrow') { if (defaultValue == 'Tomorrow') day = date.getDate() + 1; if ($(this).attr('class') == 'year_drop_down') $(this).val(year).change(); else if ($(this).attr('class') == 'month_drop_down') $(this).val(month).change(); else { $(this).val(day).change(); } } else { $(this).find('option:first').attr('selected', 'selected'); } } else { $(this).find('option:first').attr('selected', 'selected'); } } } } else { if (defaultValue != '') $(this).val(defaultValue).change(); else $(this).find('option:first').attr('selected', 'selected'); } $.uniform.update(this); var text = $('#'+$(this).attr('id') + ' option:selected').html(); $("#uniform-" + $(this).attr('id')).children('span').text('').append('<div></div>').children('div').text(text); } else if (this.type == 'checkbox' || this.type == 'radio') { var hasClick = $(this).attr('onclick'); if (hasClick != null) //This is only use for address checking. First radio button default set to checked as per BAU { $(selector+' input:radio[disabled=false]:first').attr('checked', true); } else{ if (defaultValue != '' && $(this).val() == defaultValue) this.checked = true; else this.checked = false; } $.uniform.update(this); } else if (this.type == 'file') { ResetFile(fieldName); } else { if ($(this).hasClass('date') && dateFormat != '' && dateFormat != 'undefined') //Used to reset date { var date = new Date(); var month = date.getMonth(); var day = date.getDate(); var year = date.getFullYear(); var monthsShort = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; if (defaultValue != '' && defaultValue != 'undefined') { if (defaultValue == 'Today' || defaultValue == 'Tomorrow') { if (defaultValue == 'Tomorrow') day = date.getDate() + 1; $(this).val(day + ' ' + monthsShort[month] + ' ' + year); } else { $(this).val(''); } } else { $(this).val(''); } } else { if (defaultValue == '' || defaultValue === 'undefined') $(this).val(''); else $(this).val(defaultValue); } //Remove any error for address if ($(this).hasClass('errorBox')) { console.log($(this).attr('id')); $(this).removeClass('errorBox') $('#'+fieldName+'').children('span.errormsg').remove(); } } }); } } function evaluateValue(thisFieldName, type, onEvent) { if (type == null) { type = GetFieldsType(thisFieldName); } for (var index in form.Fields) { var tempProp = form.Fields[index].Properties; if (GetPropertyValue(tempProp, "ConditionalLogicFlag") == "Yes") { if (GetPropertyValue(tempProp, "ConditionFieldName") == thisFieldName) { var expression = GetPropertyValue(tempProp, "Expression"); var expressionValue = GetPropertyValue(tempProp, "ExpressionValue"); if (type == "Date") { evaluateDateExpression(expression, thisFieldName, expressionValue, form.Fields[index].Name); } else if (type == "Time") { expressionValue = expressionValue.replace(':', ''); evaluateExpression(expression, thisFieldName, expressionValue, form.Fields[index].Name, type, false); } else { evaluateExpression(expression, thisFieldName, expressionValue, form.Fields[index].Name, null, onEvent); } } } } } function GetFieldsType(fieldName) { for (var index in form.Fields) { if (form.Fields[index].Name == fieldName) { return form.Fields[index].ControlName; } } } function GetFieldsPrepopulateEditable(fieldName) { for (var index in form.Fields) { if (form.Fields[index].Name == fieldName) { var tempProp = form.Fields[index].Properties; return GetPropertyValue(tempProp, "PrepopulateEditableFlag"); } } } function evaluateDateExpression(expression, conditionalField, expressionValue, fieldName) { conditionalField = '_OFE_' + conditionalField; var isValid = false; var expValueTemp = expressionValue.split("/"); var expValue = new Date(expValueTemp[2], expValueTemp[1]-1, expValueTemp[0]); var dateValue = null; var fieldVal = $('#' + conditionalField + '').val().split("/"); if(fieldVal.length >= 3) { dateValue = new Date(fieldVal[2], fieldVal[1]-1, fieldVal[0]); } else { dateValue = new Date($('#' + conditionalField + '').val()); } if (expression == "=") { if( dateValue.valueOf() == expValue.valueOf()) { isValid = true; } } else if (expression == ">") { if( dateValue.valueOf() > expValue.valueOf()) { isValid = true; } } else if (expression == "<") { if( dateValue.valueOf() < expValue.valueOf()) { isValid = true; } } else if (expression == "<=") { if( dateValue.valueOf() <= expValue.valueOf()) { isValid = true; } } else if (expression == ">=") { if( dateValue.valueOf() >= expValue.valueOf()) { isValid = true; } } else if (expression == "!=") { if( dateValue.valueOf() != expValue.valueOf()) { isValid = true; } } for (var index in form.Fields) { if(form.Fields[index].Name == fieldName) { var tempProp = form.Fields[index].Properties; if (GetPropertyValue(tempProp, "ConditionalLogicFlag") == "Yes") { if (GetPropertyValue(tempProp, "Action") == "Hide") { if (GetPropertyValue(tempProp, "ExpressionValue") != "") { if(isValid) { $('#' + fieldName + '.fieldgroup').hide(); } else{ $('#' + fieldName + '.fieldgroup').show(); } } } else { if (GetPropertyValue(tempProp, "ExpressionValue") != "") { if(isValid) { $('#' + fieldName + '.fieldgroup').show(); } else { $('#' + fieldName + '.fieldgroup').hide(); } } } } } } } function EvaluatePreconditionField() { // for (var index in form.Fields) { // var tempProp = form.Fields[index].Properties; // if (GetPropertyValue(tempProp, "ConditionalLogicFlag") == "Yes") { // if (GetPropertyValue(tempProp, "Action") == "Hide") { // if (GetPropertyValue(tempProp, "ExpressionValue") != "") // { // //$('#' + form.Fields[index].Name + '.fieldgroup').show(); // } // } // else{ // if (GetPropertyValue(tempProp, "ExpressionValue") != "") // { // $('#' + form.Fields[index].Name + '.fieldgroup').hide(); // } // } // } // } for (var index in form.Fields) { evaluateValue(form.Fields[index].Name, onEvent = false); } } function SubmitForm(formId) { //$('#processingDiv').show(); //$('#Form').submit(); AJAXPostNoClickedTwice('/internet-banking/PublicOnlineForm/SubmitForm/', formId, 'formContentModal'); } function GetAddress(postalCodeHolder,fieldName) { //$('#processingDiv').show(); var postalCode = $('#'+postalCodeHolder+'').val(); var reqData = { "Postalcode": postalCode }; var reqJson = $.toJSON(reqData); var returnData; $.ajax({ url: '/internet-banking/PublicOnlineForm/GetAddress', type: 'POST', dataType: 'json', data: reqJson, contentType: 'application/json; charset=utf-8', async: false, success: function (result) { $('#processingDiv').hide(); RefreshIdleTimeout(); returnData = result; if (result.ErrStatus == 0){ $('#'+fieldName+'').children('.errormsg').remove(); $('#'+postalCodeHolder+'').removeClass('errorBox'); $('#' + fieldName + 'PostalCode').val(result.Postalcode); $('#' + fieldName + 'BlockNo').val(result.Block); $('#' + fieldName + 'StreetName').val(result.StreetName); $('#' + fieldName + 'UnitNo1').val(result.FloorNo); $('#' + fieldName + 'UnitNo2').val(result.UnitNo); $('#' + fieldName + 'BuildingName').val(result.BuildingName); } else { $('#'+fieldName+'').children('.errormsg').remove(); $('#'+postalCodeHolder+'').removeClass('errorBox'); var errorMessage = result.ErrMessage; //$('#'+postalCodeHolder+'').parent('div').append("<span class='errormsg'>"+errorMessage+"</span>"); $('#'+postalCodeHolder+'').addClass('errorBox') if(errorMessage != null){ $('#'+fieldName+'').append("<span class='errormsg'>"+errorMessage+"</span>"); } } }, error: function (errorThrown) { RefreshIdleTimeout(); $('#processingDiv').hide(); setErrorPage(); } }); return returnData; } function HideUnitNo(fieldName) { $('#' + fieldName + 'UnitNoHolder').hide(); } function ShowUnitNo(fieldName) { $('#' + fieldName + 'UnitNoHolder').show(); } function ResetFile(fieldName) { $('#file_label_content_'+fieldName).hide(); $('#uniform-upload_input_'+fieldName).show(); $('#uniform-upload_input_'+fieldName).children('.filename').text("No file selected"); $('#upload_success_'+fieldName).html(''); $('#upload_button_'+fieldName).show(); $('#upload_container_'+fieldName).show(); } function BindDatePickerOFE() { if ($('.calendar-ofe').length > 0) { var curContainer; var curInput; var now = new Date(); var day = now.getDate(); var month = now.getMonth() + 1; var year = now.getFullYear(); curDate = day + '/' + month + '/' + year; $(".calendar-ofe").DatePicker({ flat: false, format: 'd b Y', date: curDate, current: curDate, position: 'top', onChange: function (formated, dates) { $(curInput).val(formated); var fieldName = $(curInput).attr("id"); fieldName = fieldName.replace('_OFE_', ''); evaluateValue(fieldName,"Date", onEvent = false); }, onShow: function (data) { var calId = $(this).data('datepickerId'); caltop = $(this).offset().top + 22 + 'px'; calleft = $(this).offset().left - 10 + 'px'; $('#' + calId).css({ top: caltop, left: calleft }); return true; }, onBeforeShow: function () { var dpObj = $(this).data('datepickerId'); } }); // SHOW CALENDARS $('.calendar-icon').bind('click', function () { if ($(this).is('.disabled')) return; if ($(this).parent().find('.datepicker').css('visibility') != 'visible') { $(this).parent().find('.calendar-ofe').DatePickerShow(); curInput = $(this).parent().find('input.date'); } else { $(this).parent().find('.datepicker').css('visibility', 'hidden'); } }); } } $(document).ready(function () { BindDatePickerOFE(); BindUniformScript(); BindTooltipScript(); var availableControlTypes = [{"Name":"TextBox","Label":"Text","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Field Label","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"AlphanumericPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500},{"Name":"AlphanumericPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"AlphanumericPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"MaxLength","Title":"Max Length","Type":"Integer","Description":"Maximum Length can be input in the field. Determines the field length","DefaultValue":20,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"IntegerPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":3},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaxChar","Title":"Max Char","Type":"Integer","Description":"Number of maximum characters can be input in the field","DefaultValue":50,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"IntegerPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":5},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"AlphanumericPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateFlag","Title":"Pre-populate this Field","Type":"String","Description":"Option of pre-population variable that can be used","DefaultValue":null,"OptionSourceName":"List","Options":["None","Cust Name","Cust Mobile Number"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateEditableFlag","Title":"Pre-populate field Editable?","Type":"String","Description":"Pre-populate field editable","DefaultValue":"Yes","OptionSourceName":"List","Options":["Yes","No"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500},{"Name":"AlphanumericPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"Paragraph","Label":"Paragraph","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Field Label","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"NumberOfRows","Title":"Number of Rows","Type":"Integer","Description":"Determine height of the multi-line text box by number of rows","DefaultValue":5,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":5},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"NumberOfColumns","Title":"Number of Columns","Type":"Integer","Description":"Determine width of the multi-line text box by number of columns","DefaultValue":5,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":5},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaxChar","Title":"Max Char","Type":"Integer","Description":"Number of maximum characters can be input in the field","DefaultValue":50,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":5},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"RadioButton","Label":"Radio Button","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Field Label","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"OptionList","Title":"Option List","Type":"String","Description":"List of option","DefaultValue":"User-Defined","OptionSourceName":"List","Options":["User-Defined","Countries","Employment","Education","Gender","Marital Status","Days","Months","Branch"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"UserDefinedList","Title":"User-Defined List","Type":"MultiLineString","Description":"List of option","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":5000}],"IsEditModeRenderAttribute":true,"SubType":"KeyValue"},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"HorizontalAlignment","Title":"Horizontal Alignment","Type":"String","Description":"Alignment of the radio button","DefaultValue":"Top to down","OptionSourceName":"List","Options":["Top to down","Left to right"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateFlag","Title":"Pre-populate this Field","Type":"String","Description":"Option of pre-population variable that can be used","DefaultValue":null,"OptionSourceName":"List","Options":["None","Cust Marital Status","Cust Gender"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"Numeric","Label":"Numeric","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Field Label","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"NumberFormat","Title":"Number Format","Type":"String","Description":"Defines customer can input how many digits before decimal. Use \u0027#\u0027 to indicate digit and \u0027.0\u0027 to indicate deciman digit","DefaultValue":"#,###.00","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaxLength","Title":"Max Length","Type":"Integer","Description":"Maximum Length can be input in the field. Determines the field length","DefaultValue":20,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":3},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MinimumRange","Title":"Range (min)","Type":"Decimal","Description":"Minimum number value that can be entered","DefaultValue":0,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":20},{"Name":"RangeDecimalPropertyValidator","MinValue":0,"MaxValue":99999999999999999999},{"Name":"DataTypePropertyValidator","Type":"Decimal"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaximumRange","Title":"Range (max)","Type":"Decimal","Description":"Maximum number value that can be entered","DefaultValue":"9999999.99","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":20},{"Name":"RangeDecimalPropertyValidator","MinValue":0,"MaxValue":99999999999999999999},{"Name":"DataTypePropertyValidator","Type":"Decimal"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DefaultValue","Title":"Default Value","Type":"Decimal","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":20},{"Name":"DataTypePropertyValidator","Type":"Decimal"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"CheckBox","Label":"Checkbox","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Field Label","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"OptionList","Title":"Option List","Type":"String","Description":"List of option","DefaultValue":"User-Defined","OptionSourceName":"List","Options":["User-Defined","Countries","Employment","Education","Gender","Marital Status","Days","Months","Branch"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"UserDefinedList","Title":"User-Defined List","Type":"MultiLineString","Description":"List of option","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":5000}],"IsEditModeRenderAttribute":true,"SubType":"KeyValue"},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"HorizontalAlignment","Title":"Horizontal Alignment","Type":"String","Description":"Alignment of the radio button","DefaultValue":"Top to down","OptionSourceName":"List","Options":["Top to down","Left to right"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"DropDownList","Label":"Drop Down List","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Field Label","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"OptionList","Title":"Option List","Type":"String","Description":"List of option","DefaultValue":"User-Defined","OptionSourceName":"List","Options":["User-Defined","Countries","Employment","Education","Gender","Marital Status","Days","Months","Branch","Cust Title","Cust ID Type"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"UserDefinedList","Title":"User-Defined List","Type":"MultiLineString","Description":"List of option","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":5000}],"IsEditModeRenderAttribute":true,"SubType":"KeyValue"},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateFlag","Title":"Pre-populate this Field","Type":"String","Description":"Option of pre-population variable that can be used","DefaultValue":null,"OptionSourceName":"List","Options":["None","Marital Status","Gender","Title","Nationality","ID Type","ID Issued Country","Country of Citizenship","Country Domicile"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateEditableFlag","Title":"Pre-populate field Editable?","Type":"String","Description":"Pre-populate field editable","DefaultValue":"No","OptionSourceName":"List","Options":["Yes","No"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"HTML","Label":"HTML","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"HTMLContent","Title":"HTML Content","Type":"MultiLineString","Description":"HTML code to be save in the form","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":5000}],"IsEditModeRenderAttribute":true,"SubType":"HtmlTag"},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"HiddenField","Label":"Hidden Field","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"MaxLength","Title":"Max Length","Type":"Integer","Description":"Maximum Length can be input in the field. Determines the field length","DefaultValue":20,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":3},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaxChar","Title":"Max Char","Type":"Integer","Description":"Number of maximum characters can be input in the field","DefaultValue":50,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":5},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"Address","Label":"Address","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Address","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"AddressType","Title":"Address Type","Type":"String","Description":"Type of address provided","DefaultValue":"Singapore","OptionSourceName":"List","Options":["PO BOX","Singapore","Foreign","All address"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"Email","Label":"Email","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Email Address","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"MaxLength","Title":"Max Length","Type":"Integer","Description":"Maximum Length can be input in the field. Determines the field length","DefaultValue":20,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":3},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaxChar","Title":"Max Char","Type":"Integer","Description":"Number of maximum characters can be input in the field","DefaultValue":50,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":5},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateFlag","Title":"Pre-populate this Field","Type":"String","Description":"Option of pre-population variable that can be used","DefaultValue":null,"OptionSourceName":"List","Options":["None","Cust Email"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateEditableFlag","Title":"Pre-populate field Editable?","Type":"String","Description":"Pre-populate field editable","DefaultValue":"Yes","OptionSourceName":"List","Options":["Yes","No"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"Date","Label":"Date","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Date","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"DateInputType","Title":"Date Input Type","Type":"String","Description":"Types of date input available","DefaultValue":"Calendar icon","OptionSourceName":"List","Options":["Calendar icon","Date drop down"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"YearRange","Title":"Year Range","Type":"String","Description":"Range for year","DefaultValue":"StartYear to EndYear","OptionSourceName":"List","Options":["StartYear to EndYear","CurrentYear - X to CurrentYear + Y"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"StartYear","Title":"Start Year","Type":"Integer","Description":"Start year","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":4},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"EndYear","Title":"End Year","Type":"Integer","Description":"End year","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":4},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"XYear","Title":"X","Type":"Integer","Description":"X year","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":4},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"YYear","Title":"Y","Type":"Integer","Description":"Y year","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":4},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":"Today","OptionSourceName":"List","Options":["Today","Tomorrow","None"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateFlag","Title":"Pre-populate this Field","Type":"String","Description":"Option of pre-population variable that can be used","DefaultValue":"None","OptionSourceName":"List","Options":["None","Cust Date of Birth"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"Time","Label":"Time","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Time","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TimeInputType","Title":"Time Input Type","Type":"String","Description":"Types of time input available","DefaultValue":"24hr format","OptionSourceName":"List","Options":["24hr format","12hr format"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":"Time"},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"TermsCondition","Label":"Terms \u0026 Condition","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"TnC Label","Type":"MultiLineString","Description":"Label for the field","DefaultValue":"I have read the Term and Conditions \u003ca (Read it here)\u003c/a\u003e","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"TermsConditionLinkValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":3000}],"IsEditModeRenderAttribute":true,"SubType":"HtmlTag"},{"Name":"TermsConditionHyperlink","Title":"TnC Hyperlink","Type":"MultiLineString","Description":"TnC Hyperlink","DefaultValue":"http://www.ocbc.com/termsandconditions.html","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":3000}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"NRIC","Label":"NRIC","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"NRIC","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"MaxLength","Title":"Max Length","Type":"Integer","Description":"Maximum Length can be input in the field. Determines the field length","DefaultValue":9,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":3},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaxChar","Title":"Max Char","Type":"Integer","Description":"Number of maximum characters can be input in the field","DefaultValue":9,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":3},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateFlag","Title":"Pre-populate this Field","Type":"String","Description":"Option of pre-population variable that can be used","DefaultValue":null,"OptionSourceName":"List","Options":["None","Cust NRIC"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"PrepopulateEditableFlag","Title":"Pre-populate field Editable?","Type":"String","Description":"Pre-populate field editable","DefaultValue":"No","OptionSourceName":"List","Options":["Yes","No"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"FileUpload","Label":"File Upload","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"File Upload","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"MaxLength","Title":"Max Length","Type":"Integer","Description":"Maximum Length can be input in the field. Determines the field length","DefaultValue":20,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":3},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaxChar","Title":"Max Char","Type":"Integer","Description":"Number of maximum characters can be input in the field","DefaultValue":50,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":5},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"AllowedExtension","Title":"Allowed Extension","Type":"String","Description":"Allowed file extension","DefaultValue":".jpg, .gif, .png, .pdf","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":30},{"Name":"FileExtensionValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"MaxFileSize","Title":"Max File Size","Type":"Integer","Description":"Maximum file size allowed to be uploaded in KB","DefaultValue":50,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":0,"MaxLength":5},{"Name":"DataTypePropertyValidator","Type":"Integer"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"Captcha","Label":"CAPTCHA","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"CAPTCHA Label","Type":"String","Description":"Label for the field","DefaultValue":"CAPTCHA","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"VerificationCodeLabel","Title":"Verification Code Label","Type":"String","Description":"Label for the field","DefaultValue":"Verification Code","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"VerificationCodeLabelPosition","Title":"Verification Code Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"GetAnotherCodeLabel","Title":"Get Another Code Label","Type":"String","Description":"label for the get another code hyperlink","DefaultValue":"Get Another Code","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":100}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]},{"Name":"AccountSelection","Label":"Account Selection","Properties":[{"Name":"Name","Title":"Name","Type":"String","Description":"Name of the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":1,"MaxLength":50}],"IsEditModeRenderAttribute":false,"SubType":"Code"},{"Name":"Label","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Account Selection","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"LabelPosition","Title":"Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"AccountMailingAddressLabel","Title":"Label","Type":"String","Description":"Label for the field","DefaultValue":"Account Mailing Address","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"AccountMailingAddressLabelPosition","Title":"Mailing Address Label Position","Type":"String","Description":"Position of the label, may be top or left of the field","DefaultValue":"Top","OptionSourceName":"Label","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":true,"SubType":null},{"Name":"DescTooltip","Title":"Description Tooltip","Type":"String","Description":"Description Content for Tooltip. Tooltip is displayed in Entry page during form filling mode only when some text is entered in this field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Mandatory","Title":"Mandatory","Type":"String","Description":"Defines whether field is mandatory","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"TextInstruction","Title":"Text Instruction","Type":"String","Description":"Instruction guide for customer of what to enter in the field. Positioned directly below the field","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"CheckBoxOptionList","Title":"Option List","Type":"String","Description":"List of option","DefaultValue":"CASA","OptionSourceName":"CheckBox","Options":["CASA","Credit Card","EasiCredit"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"DefaultValue","Title":"Default Value","Type":"String","Description":"Default value for field","DefaultValue":"Please Select","OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"MailingAddress","Title":"Mailing Address?","Type":"String","Description":"Mailing Address?","DefaultValue":"Yes","OptionSourceName":"List","Options":["Yes","No"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionalLogicFlag","Title":"Conditional Logic","Type":"String","Description":"Indicator for conditional logic","DefaultValue":"No","OptionSourceName":"List","Options":["No","Yes"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"MandatoryPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Action","Title":"Action","Type":"String","Description":"Action to hide or show a field. Only applies if Conditional Logic is Yes","DefaultValue":"Hide","OptionSourceName":"List","Options":["Hide","Show"],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ConditionFieldName","Title":"Precondition Field","Type":"String","Description":"Field to cause this control to be hidden/show. Only applies if Conditional Logic is Yes","DefaultValue":null,"OptionSourceName":"Fields","Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"Expression","Title":"Expression","Type":"String","Description":"Available expressions. Only applies if Condition Logic is Yes","DefaultValue":"","OptionSourceName":"List","Options":["","=","!=","\u003e","\u003c","\u003e=","\u003c="],"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"OptionPropertyValidator"}],"IsEditModeRenderAttribute":false,"SubType":null},{"Name":"ExpressionValue","Title":"Expression Value","Type":"String","Description":"Value. Only applies if Conditional Logic is Yes. This value can be of characters or number, date (dd/mm/yyyy) or time (hh:mm)","DefaultValue":null,"OptionSourceName":null,"Options":null,"Validators":[{"Name":"DataTypePropertyValidator","Type":null},{"Name":"LengthPropertyValidator","MinLength":null,"MaxLength":500}],"IsEditModeRenderAttribute":false,"SubType":null}]}]; //THIS IS TEMPORARY. THE FINAL CODE SHOULD CONSTRUCT THE FINAL OBJECT DIRECTLY RATHER THAN DOING THIS for (var index in availableControlTypes) { var tempControlType = availableControlTypes[index]; var controlType = new Control(tempControlType.Name); controlType.Properties = tempControlType.Properties; for(var index2 in controlType.Properties) { var propMetadata = new PropertyMetaData(controlType.Properties[index2].Name); propMetadata.OptionSourceName = controlType.Properties[index2].OptionSourceName; } controlTypeList[tempControlType.Name] = controlType; }; var tempForm = {"Properties":[],"Pages":[{"Name":"PageControl1","Properties":[{"PropertyName":"Name","Value":"PageControl1"},{"PropertyName":"PageTitle","Value":"Page Title 1"}],"Sections":[{"Name":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"SectionControl2"},{"PropertyName":"SectionHeaderLabel","Value":""},{"PropertyName":"TextParagraph","Value":""},{"PropertyName":"ColumnSection","Value":"No"},{"PropertyName":"ColumnAlignment","Value":"Top down"}],"Fields":[{"Name":"HTML3","ControlName":"HTML","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"HTML3"},{"PropertyName":"HTMLContent","Value":"Get curated no-nonsense monthly financial and lifestyle tips, exclusive access to workshops/courses and first dibs on the latest deals."},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"TextBox4","ControlName":"TextBox","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"TextBox4"},{"PropertyName":"Label","Value":"Name"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"MaxLength","Value":"20"},{"PropertyName":"MaxChar","Value":"50"},{"PropertyName":"DefaultValue","Value":""},{"PropertyName":"PrepopulateFlag","Value":""},{"PropertyName":"PrepopulateEditableFlag","Value":"Yes"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"TextBox5","ControlName":"TextBox","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"TextBox5"},{"PropertyName":"Label","Value":"NRIC / Passport Number"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"MaxLength","Value":"20"},{"PropertyName":"MaxChar","Value":"50"},{"PropertyName":"DefaultValue","Value":""},{"PropertyName":"PrepopulateFlag","Value":""},{"PropertyName":"PrepopulateEditableFlag","Value":"Yes"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"Date11","ControlName":"Date","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"Date11"},{"PropertyName":"Label","Value":"Date of Birth"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"DateInputType","Value":"Calendar icon"},{"PropertyName":"YearRange","Value":"StartYear to EndYear"},{"PropertyName":"StartYear","Value":""},{"PropertyName":"EndYear","Value":""},{"PropertyName":"XYear","Value":""},{"PropertyName":"YYear","Value":""},{"PropertyName":"DefaultValue","Value":"Today"},{"PropertyName":"PrepopulateFlag","Value":"None"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"TextBox6","ControlName":"TextBox","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"TextBox6"},{"PropertyName":"Label","Value":"Mobile Number"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"MaxLength","Value":"20"},{"PropertyName":"MaxChar","Value":"50"},{"PropertyName":"DefaultValue","Value":""},{"PropertyName":"PrepopulateFlag","Value":""},{"PropertyName":"PrepopulateEditableFlag","Value":"Yes"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"Email7","ControlName":"Email","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"Email7"},{"PropertyName":"Label","Value":"Email Address"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"MaxLength","Value":"20"},{"PropertyName":"MaxChar","Value":"50"},{"PropertyName":"DefaultValue","Value":""},{"PropertyName":"PrepopulateFlag","Value":""},{"PropertyName":"PrepopulateEditableFlag","Value":"Yes"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"Captcha10","ControlName":"Captcha","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"Captcha10"},{"PropertyName":"Label","Value":"CAPTCHA"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"VerificationCodeLabel","Value":"Verification Code"},{"PropertyName":"VerificationCodeLabelPosition","Value":"Top"},{"PropertyName":"GetAnotherCodeLabel","Value":"Get Another Code"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"TextInstruction","Value":""}]},{"Name":"HTML11","ControlName":"HTML","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"HTML11"},{"PropertyName":"HTMLContent","Value":"\r\n\u003cb\u003e Terms and Conditions:\u003c/b\u003e\r\n\u003cbr\u003e\u003c/br\u003e\r\nI am aware that, by signing up for this product or service, I am consenting to Oversea-Chinese Banking Corporation Limited and its related corporations (OCBC Group) – as well as their agents and authorised service providers – to collect, use and disclose my personal data, and to share this data with their business partners for marketing and promotional purposes. \r\nThese purposes include the “Additional Purposes” set out in the OCBC Data Protection Policy, available at \u003ca href=\"https://www.ocbc.com/personal-banking/policies.html\" \u003ewww.ocbc.com/polices\u003c/a\u003e or any OCBC Bank branch.\u003c/br\u003e\u003c/br\u003e\r\nFor avoidance of doubt, I am also aware that the above consent overrides any earlier withdrawal of such consent; should I wish to withdraw my consent later, I shall use the form available \u003ca href=\"https://internet.ocbc.com/PDPA/PDPAUnsecuredConsent/Form?id=UA\u0026rc=INB\"\u003ehere\u003c/a\u003e\r\nor any OCBC Bank branch.\r\n\u003c/br\u003e\u003c/br\u003e\r\nIn addition, by checking the box, I also consent to OCBC Group contacting me via SMS, telephone call and other phone number-based messaging about products and services offered by OCBC Group, its business partners and agents, regardless of my registration(s) with the Do Not Call registry."},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Show"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"TermsCondition11","ControlName":"TermsCondition","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"TermsCondition11"},{"PropertyName":"Label","Value":"I hereby agree to the Terms and Conditions stated above."},{"PropertyName":"TermsConditionHyperlink","Value":""},{"PropertyName":"TextInstruction","Value":""}]}]}]}],"Fields":[{"Name":"HTML3","ControlName":"HTML","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"HTML3"},{"PropertyName":"HTMLContent","Value":"Get curated no-nonsense monthly financial and lifestyle tips, exclusive access to workshops/courses and first dibs on the latest deals."},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"TextBox4","ControlName":"TextBox","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"TextBox4"},{"PropertyName":"Label","Value":"Name"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"MaxLength","Value":"20"},{"PropertyName":"MaxChar","Value":"50"},{"PropertyName":"DefaultValue","Value":""},{"PropertyName":"PrepopulateFlag","Value":""},{"PropertyName":"PrepopulateEditableFlag","Value":"Yes"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"TextBox5","ControlName":"TextBox","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"TextBox5"},{"PropertyName":"Label","Value":"NRIC / Passport Number"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"MaxLength","Value":"20"},{"PropertyName":"MaxChar","Value":"50"},{"PropertyName":"DefaultValue","Value":""},{"PropertyName":"PrepopulateFlag","Value":""},{"PropertyName":"PrepopulateEditableFlag","Value":"Yes"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"Date11","ControlName":"Date","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"Date11"},{"PropertyName":"Label","Value":"Date of Birth"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"DateInputType","Value":"Calendar icon"},{"PropertyName":"YearRange","Value":"StartYear to EndYear"},{"PropertyName":"StartYear","Value":""},{"PropertyName":"EndYear","Value":""},{"PropertyName":"XYear","Value":""},{"PropertyName":"YYear","Value":""},{"PropertyName":"DefaultValue","Value":"Today"},{"PropertyName":"PrepopulateFlag","Value":"None"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"TextBox6","ControlName":"TextBox","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"TextBox6"},{"PropertyName":"Label","Value":"Mobile Number"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"MaxLength","Value":"20"},{"PropertyName":"MaxChar","Value":"50"},{"PropertyName":"DefaultValue","Value":""},{"PropertyName":"PrepopulateFlag","Value":""},{"PropertyName":"PrepopulateEditableFlag","Value":"Yes"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"Email7","ControlName":"Email","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"Email7"},{"PropertyName":"Label","Value":"Email Address"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"Mandatory","Value":"Yes"},{"PropertyName":"TextInstruction","Value":""},{"PropertyName":"MaxLength","Value":"20"},{"PropertyName":"MaxChar","Value":"50"},{"PropertyName":"DefaultValue","Value":""},{"PropertyName":"PrepopulateFlag","Value":""},{"PropertyName":"PrepopulateEditableFlag","Value":"Yes"},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Hide"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"Captcha10","ControlName":"Captcha","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"Captcha10"},{"PropertyName":"Label","Value":"CAPTCHA"},{"PropertyName":"LabelPosition","Value":"Top"},{"PropertyName":"VerificationCodeLabel","Value":"Verification Code"},{"PropertyName":"VerificationCodeLabelPosition","Value":"Top"},{"PropertyName":"GetAnotherCodeLabel","Value":"Get Another Code"},{"PropertyName":"DescTooltip","Value":""},{"PropertyName":"TextInstruction","Value":""}]},{"Name":"HTML11","ControlName":"HTML","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"HTML11"},{"PropertyName":"HTMLContent","Value":"\r\n\u003cb\u003e Terms and Conditions:\u003c/b\u003e\r\n\u003cbr\u003e\u003c/br\u003e\r\nI am aware that, by signing up for this product or service, I am consenting to Oversea-Chinese Banking Corporation Limited and its related corporations (OCBC Group) – as well as their agents and authorised service providers – to collect, use and disclose my personal data, and to share this data with their business partners for marketing and promotional purposes. \r\nThese purposes include the “Additional Purposes” set out in the OCBC Data Protection Policy, available at \u003ca href=\"https://www.ocbc.com/personal-banking/policies.html\" \u003ewww.ocbc.com/polices\u003c/a\u003e or any OCBC Bank branch.\u003c/br\u003e\u003c/br\u003e\r\nFor avoidance of doubt, I am also aware that the above consent overrides any earlier withdrawal of such consent; should I wish to withdraw my consent later, I shall use the form available \u003ca href=\"https://internet.ocbc.com/PDPA/PDPAUnsecuredConsent/Form?id=UA\u0026rc=INB\"\u003ehere\u003c/a\u003e\r\nor any OCBC Bank branch.\r\n\u003c/br\u003e\u003c/br\u003e\r\nIn addition, by checking the box, I also consent to OCBC Group contacting me via SMS, telephone call and other phone number-based messaging about products and services offered by OCBC Group, its business partners and agents, regardless of my registration(s) with the Do Not Call registry."},{"PropertyName":"ConditionalLogicFlag","Value":"No"},{"PropertyName":"Action","Value":"Show"},{"PropertyName":"ConditionFieldName","Value":""},{"PropertyName":"Expression","Value":""},{"PropertyName":"ExpressionValue","Value":""}]},{"Name":"TermsCondition11","ControlName":"TermsCondition","PageName":"PageControl1","SectionName":"SectionControl2","Properties":[{"PropertyName":"Name","Value":"TermsCondition11"},{"PropertyName":"Label","Value":"I hereby agree to the Terms and Conditions stated above."},{"PropertyName":"TermsConditionHyperlink","Value":""},{"PropertyName":"TextInstruction","Value":""}]}]}; for (var index in tempForm.Fields) { var tempFormField = tempForm.Fields[index]; var formField = AddFormField(tempFormField.ControlName, tempFormField.Name, tempFormField.PageName, tempFormField.SectionName); GetValueFromObject(tempFormField,formField); }; EvaluatePreconditionField(); $('#formClose').click(function () { $('#formContentModal').jqmHide(); $('#formContentModal').html(''); //clear all the html element in the jqm $('#processingDiv').hide(); }); $('.input-field').blur(function () { var fieldName = $(this).attr("id"); fieldName = fieldName.replace('_OFE_', ''); evaluateValue(fieldName, onEvent = false); }); $('.dropdown-field').change(function () { var fieldName = $(this).attr("id"); fieldName = fieldName.replace('_OFE_', ''); evaluateValue(fieldName, onEvent = false); }); $('.day_drop_down, .month_drop_down , .year_drop_down').change(function () { var fieldId = $(this).attr("id"); fieldId = fieldId.replace('_day','').replace('_month','').replace('_year',''); var day = $('#'+fieldId+'_day').val(); var month = $('#'+fieldId+'_month').val(); var year = $('#'+fieldId+'_year').val(); $('#'+ fieldId).val(day+'/'+month+'/'+year); var fieldName = fieldId.replace('_OFE_', ''); evaluateValue(fieldName,"Date", onEvent = false); }); $('.select-field, .check-field').click(function () { var fieldName = $(this).attr("id"); var indexOfDot = fieldName.indexOf('.'); fieldName = fieldName.substring(0,indexOfDot); fieldName = fieldName.replace('_OFE_', ''); evaluateValue(fieldName,null, onEvent = true); }); $('.nirc-ofe').blur(function(){ var value = $(this).val(); $(this).val(value.toUpperCase()); }); $('#btnSubmitOFE , #btnNextOFE').click(function () { //submit form SubmitForm("Form"); }); $('#btnBack').click(function () { //Back to previous page form AJAXPostNoClickedTwice('/internet-banking/PublicOnlineForm/Back/', "Form", 'formContentModal'); }); function daysInMonth(month, year) { return new Date(year, month, 0).getDate(); } //Update DROP DOWN Day $('.month_drop_down, .year_drop_down').change(function () { var dropDownId = $(this).attr('id'); var selectedYear = $('#' + dropDownId + '.year_drop_down').val(); var selectedMonth = $('#' + dropDownId + '.month_drop_down').val(); var selectedDay = $('#' + dropDownId + '.day_drop_down').val(); var numOfDay = daysInMonth(selectedMonth, selectedYear); //Update Day $('#' + dropDownId + '.day_drop_down').empty(); $('#' + dropDownId + '.day_drop_down').append('<option value="0"> - </option>'); if (selectedDay > numOfDay) { selectedDay = numOfDay; //if selected day is more than the selected month number of days set to max day } if (selectedDay != 0) { $('#' + dropDownId + '.day_drop_down').parent().children('span').children('div').text(selectedDay); } for (i = 1; i <= numOfDay; i++) { if (i == selectedDay) { $('#' + dropDownId + '.day_drop_down').append('<option value=' + i + ' selected> ' + i + ' </option>'); } else { $('#' + dropDownId + '.day_drop_down').append('<option value=' + i + '> ' + i + ' </option>'); } } }); $('.address_options').click(function () { var selectedAddress = $(this).val(); var fieldName = $(this).attr('name'); fieldName = fieldName.replace('_OFE_', ''); $('.address_options').each(function () { if ($(this).val() != selectedAddress) { $('#' + fieldName + '_' + $(this).val() + '').hide(); } }); $('#' + fieldName + '_' + selectedAddress + '').show(); }); // $('input[type=file]').change(function() { // $(this).upload('/internet-banking/PublicOnlineForm/UploadFile/', // function(data) { // if(data.status == "True") // { // $('#file_label_content_'+data.field_name).show(); // $('#uniform-upload_input_'+data.field_name).hide(); // $('#uniform-upload_input_'+data.field_name).children('.filename').text(data.file_name); // $('#file_label_'+data.field_name).text(data.file_name).show(); // $('#'+data.field_name).children('span.errormsg').remove(); // } // else // { // $('#'+data.field_name).children('span.errormsg').remove(); // $('#upload_input_'+data.field_name).addClass("errorBox"); // $('#'+data.field_name).append("<span class='errormsg'>"+data.error+"</span>"); // $('#uniform-upload_input_'+data.field_name).children('.filename').text(""); // } // }, 'json'); // }); }); function UploadFile(file) { var fileUpload = $('input:file[name="'+file+'"]'); if(fileUpload.val() != null && fileUpload.val() != "") { $(fileUpload).upload('/internet-banking/PublicOnlineForm/UploadFile/', function(data) { if(data.status == "True") { $('#file_label_content_'+data.field_name).show(); $('#uniform-upload_input_'+data.field_name).hide(); $('#uniform-upload_input_'+data.field_name).children('.filename').text(data.file_name); $('#file_label_'+data.field_name).text(data.file_name).show(); $('#'+data.field_name).children('span.errormsg').remove(); $('#upload_success_'+data.field_name).html('<span class="icon"></span> File uploaded').show(); $('#upload_button_'+data.field_name).hide(); } else { $('#'+data.field_name).children('span.errormsg').remove(); $('#upload_input_'+data.field_name).addClass("errorBox"); $('#'+data.field_name).append("<span class='errormsg'>"+data.error+"</span>"); $('#uniform-upload_input_'+data.field_name).children('.filename').text(""); $('#upload_success_'+data.field_name).html(''); $('#upload_button_'+data.field_name).show(); } resetAntiForgeryPageValues('__RequestVerificationToken',data.anti_forgery); }, 'json'); } } function DeleteFile(fieldName) { var url = '/internet-banking/PublicOnlineForm/DeleteUploaFile?FieldName=VARfieldname'; url = url.replace(/VARfieldname/gi, fieldName); $.get(url, function (data) { RefreshIdleTimeout(); if(data == 0) { $('input:file[name="'+fieldName+'"]').replaceWith($('input:file[name="'+fieldName+'"]').clone(true)); $('input:file[name="'+fieldName+'"]').val(''); $('#file_label_content_'+fieldName).hide(); $('#uniform-upload_input_'+fieldName).show(); $('#uniform-upload_input_'+fieldName).children('.filename').text(""); $('#upload_success_'+fieldName).html(''); $('#upload_button_'+fieldName).show(); $('#upload_container_'+fieldName).show(); } else{ } }); } </script> <form action="/internet-banking/PublicOnlineForm/SubmitForm" autocomplete="off" class="clearfix" encoding="multipart/form-data" enctype="multipart/form-data" id="Form" method="post"><div><input name="__RequestVerificationToken" type="hidden" value="CecdqTjPnYg8NdgMw/2P9lrI8jVcmhFOAYWWAkiHAElkx/iCBrzMCkoo7Snerg16kXfatZyPOslwH7cGE3AOZbG5Dd5sFU6K7on5objHiZFoCFm/NqqtTXgSsU+IjDr46uDjsMbO2TxdEiKDBJm6Zt2/Jtk=" /><script type="text/javascript">resetAntiForgeryPageValues('__RequestVerificationToken', 'CecdqTjPnYg8NdgMw/2P9lrI8jVcmhFOAYWWAkiHAElkx/iCBrzMCkoo7Snerg16kXfatZyPOslwH7cGE3AOZbG5Dd5sFU6K7on5objHiZFoCFm/NqqtTXgSsU+IjDr46uDjsMbO2TxdEiKDBJm6Zt2/Jtk=');</script></div> <h2></h2> <p></p> <div class="item formLayout box"> <div class="box-container"> <div class="box-top"><div class="lt"></div><div class="rt"></div></div> <div class="box-content"> <div class="item-content"> <div class="row full"> <div class='fieldgroup sub-item' id='HTML3'>Get curated no-nonsense monthly financial and lifestyle tips, exclusive access to workshops/courses and first dibs on the latest deals.</div> </div> <div class="row full"> <div class='fieldgroup sub-item' id='TextBox4'><p class='label'>Name</p><div class='clearfix'><input name='_OFE_TextBox4' type='text' id='_OFE_TextBox4' class=' text input-field ' value='' maxlength='50' size='20'> </input></div><span class='errorBlack'><p></p></span></div> </div> <div class="row full"> <div class='fieldgroup sub-item' id='TextBox5'><p class='label'>NRIC / Passport Number</p><div class='clearfix'><input name='_OFE_TextBox5' type='text' id='_OFE_TextBox5' class=' text input-field ' value='' maxlength='50' size='20'> </input></div><span class='errorBlack'><p></p></span></div> </div> <div class="row full"> <div class='fieldgroup sub-item' id='Date11'><div class='clearfix'><div class='calendar-holder'><p class='label'>Date of Birth</p><input name='_OFE_Date11' type='text' id='_OFE_Date11' class=' date text input-field' value='24 Nov 2024' > </input><a id='calendar_Date11' class='calendar-icon ' href='javascript:void(0);'></a><div class='calendar-ofe'></div></div></div><span class='errorBlack'><p></p></span></div> </div> <div class="row full"> <div class='fieldgroup sub-item' id='TextBox6'><p class='label'>Mobile Number</p><div class='clearfix'><input name='_OFE_TextBox6' type='text' id='_OFE_TextBox6' class=' text input-field ' value='' maxlength='50' size='20'> </input></div><span class='errorBlack'><p></p></span></div> </div> <div class="row full"> <div class='fieldgroup sub-item' id='Email7'><p class='label'>Email Address</p><div class='clearfix'><input name='_OFE_Email7' type='text' id='_OFE_Email7' class=' text input-field desc-tooltip'input-field value='' maxlength='50' size='20'></input></div><span class='errorBlack'><p></p></span></div> </div> <div class="row full"> <div class='fieldgroup sub-item' id='Captcha10'><p class='label'>CAPTCHA</p><div class='clearfix'><div class='col first'><div class='sub-label'><div class='fieldgroup clearfix'><img id='registration-captcha' alt='Verification Code' /><br /><a href='javascript:RefreshCaptcha();'>Get Another Code</a></div></div></div><div class='col'><div class='sub-label'>Verification Code</div><div class='fieldgroup clearfix'><input name='_OFE_Captcha10' type='text' id='_OFE_Captcha10' class=' text input-field' /></div></div></div><span class='errorBlack'><p></p></span></div> </div> <script type="text/javascript"> RefreshCaptcha();</script> <div class="row full"> <div class='fieldgroup sub-item' id='HTML11'> <b> Terms and Conditions:</b> <br></br> I am aware that, by signing up for this product or service, I am consenting to Oversea-Chinese Banking Corporation Limited and its related corporations (OCBC Group) – as well as their agents and authorised service providers – to collect, use and disclose my personal data, and to share this data with their business partners for marketing and promotional purposes. These purposes include the “Additional Purposes” set out in the OCBC Data Protection Policy, available at <a href="https://www.ocbc.com/personal-banking/policies.html" >www.ocbc.com/polices</a> or any OCBC Bank branch.</br></br> For avoidance of doubt, I am also aware that the above consent overrides any earlier withdrawal of such consent; should I wish to withdraw my consent later, I shall use the form available <a href="https://internet.ocbc.com/PDPA/PDPAUnsecuredConsent/Form?id=UA&rc=INB">here</a> or any OCBC Bank branch. </br></br> In addition, by checking the box, I also consent to OCBC Group contacting me via SMS, telephone call and other phone number-based messaging about products and services offered by OCBC Group, its business partners and agents, regardless of my registration(s) with the Do Not Call registry.</div> </div> </div> </div> <div class="box-bot"><div class="lt"></div><div class="rt"></div></div> </div> </div> <div class="row full"> </div> <div class="row full"> <div class='info clearfix' id='TermsCondition11'><input value='true' name='_OFE_TermsCondition11' id='_OFE_TermsCondition11' style='opacity: 0;' type='checkbox' ><input type='hidden' value='false' name='_OFE_TermsCondition11' /><strong>I hereby agree to the Terms and Conditions stated above.</strong><span class='errorBlack'><p></p></span></div> </div> <div class="clearfix"> <div class="button-group style-2"> <span class="primary"> <span> <a class="submit" id="btnSubmitOFE" onclick="TrackEntry();return false;" href="javascript:void(0);"> Submit </a> </span> </span> </div> </div> </form><script type="text/javascript"> //console.log(dynamicData); //testing digital data , show on console //console.log(digitalData); //testing dataLayer , show on console //alert(JSON.stringify(digitalData, null, 4)); //testing digital data, pop up an alert _satellite.pageBottom(); </script> </div> </div> <!-- END MAIN CONTENT --> </body> </html>