You need to sign in to do that
Don't have an account?
S@uravv
Apex:InputText is not setting value of the controller
I am using
<apex:input type="text" styleClass="form-control" value="{!InvoiceComments}" id="uploadInvoiceComments" onkeypress="return BlockSpecialCharacter(event)" html-placeholder="Comments" style="margin-bottom:20px;"/>
with other elements and then I am using Commandbutton to save it, but InvoiceComments is not getting updated.
I am stuck here for many days, tried different approach but not working please give any suggestions.
<apex:input type="text" styleClass="form-control" value="{!InvoiceComments}" id="uploadInvoiceComments" onkeypress="return BlockSpecialCharacter(event)" html-placeholder="Comments" style="margin-bottom:20px;"/>
with other elements and then I am using Commandbutton to save it, but InvoiceComments is not getting updated.
I am stuck here for many days, tried different approach but not working please give any suggestions.
Can you share the code snippet that I can use to repro the behavior to suggest better?
Related :
https://salesforce.stackexchange.com/questions/197747/apexinputtext-value-is-not-setting-on-the-controller
https://salesforce.stackexchange.com/questions/182321/apexinputfield-not-binding-value-to-controller