You need to sign in to do that
Don't have an account?
aaryan sri
On account object some scenarios taxid saving without hyphen
Hi,
I am inputting taxid on UI in this format "00-0000000" and backend html code also enforcing same format. But some scenarios taxid on account object saving without hyphen like this"000000000". I am not able to replicate this scenario. Please help me, in which scenarios chances of taxid saving without hyphen. Below is the VF code for taxid.
<div class="col-md-6">
<div class="form-group">
<label>Tax ID Number</label><br/>
<apex:inputText id="SGFederalTaxId" value="{!objEnrollmentWrapper.objSmallGroup.objCompany.objAccount.TIN_HF__c}"
styleclass="form-control maskField" html-validation-activated="true" html-validate-required="true"
html-masking-pattern="00-0000000" html-placeholder="00-0000000"
html-validate-minimum-length="10" html-validate-maximum-length="10"
html-validate-required-alert-type="4" html-validate-on-change="true" html-enrollment-id="{!objEnrollmentWrapper.objEnrollmentRecord.Id}"
html-validate-required-error-message="Required Field" html-validation-inline-message="true"
disabled="{!objEnrollmentWrapper.boolEnrollmentReadOnly}"
html-validation-focus-on-fail="true"
html-validation-focus-on-fail-top-offset="-10"/>
</div>
</div>
I am inputting taxid on UI in this format "00-0000000" and backend html code also enforcing same format. But some scenarios taxid on account object saving without hyphen like this"000000000". I am not able to replicate this scenario. Please help me, in which scenarios chances of taxid saving without hyphen. Below is the VF code for taxid.
<div class="col-md-6">
<div class="form-group">
<label>Tax ID Number</label><br/>
<apex:inputText id="SGFederalTaxId" value="{!objEnrollmentWrapper.objSmallGroup.objCompany.objAccount.TIN_HF__c}"
styleclass="form-control maskField" html-validation-activated="true" html-validate-required="true"
html-masking-pattern="00-0000000" html-placeholder="00-0000000"
html-validate-minimum-length="10" html-validate-maximum-length="10"
html-validate-required-alert-type="4" html-validate-on-change="true" html-enrollment-id="{!objEnrollmentWrapper.objEnrollmentRecord.Id}"
html-validate-required-error-message="Required Field" html-validation-inline-message="true"
disabled="{!objEnrollmentWrapper.boolEnrollmentReadOnly}"
html-validation-focus-on-fail="true"
html-validation-focus-on-fail-top-offset="-10"/>
</div>
</div>