You need to sign in to do that
Don't have an account?
Stephen E 4
Value 'Wed Apr 25 00:00:00 GMT 2018' cannot be converted from Text to com.force.swag.soap.DateOnlyWrapper
Hello All.
I know there is a current limiation to dates fields and the inputhidden fuction in salesforce (https://success.salesforce.com/issues_view?id=a1p300000008dpwAAA)
However, I am getting this same error when the page is displaying a date field on a radio button option
Example:
assetToGet and assetGot are both instances of a custom object. 'mf' is the the repeat loop variable that contains the field names. So its dynaymically creating radio buttons. However, when selecting an option that is a date field and writing back to salesforce, I get an error (Value 'Wed Apr 25 00:00:00 GMT 2018' cannot be converted from Text to com.force.swag.soap.DateOnlyWrapper)
Is this also another limitation?
I know there is a current limiation to dates fields and the inputhidden fuction in salesforce (https://success.salesforce.com/issues_view?id=a1p300000008dpwAAA)
However, I am getting this same error when the page is displaying a date field on a radio button option
Example:
assetToGet and assetGot are both instances of a custom object. 'mf' is the the repeat loop variable that contains the field names. So its dynaymically creating radio buttons. However, when selecting an option that is a date field and writing back to salesforce, I get an error (Value 'Wed Apr 25 00:00:00 GMT 2018' cannot be converted from Text to com.force.swag.soap.DateOnlyWrapper)
<apex:selectOption itemLabel="{!assetToGet[mf]}" itemValue="{!assetToGet[mf]}" ></apex:selectOption> <apex:selectOption itemLabel="{!assetGot[mf]}" itemValue="{!assetGot[mf]}" ></apex:selectOption>
Is this also another limitation?