function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MariPMariP 

How to NOT display date format near an input date field ?

Hi

stil on my page block table...

To gain some place, I would like to not display format date (this : (28/10/2010) ) near an input date field...

How to do this, if it's possible ?

 

Here is the code for my VF page :

 

            <apex:pageblocktable value="{!resultList}" var="res"
            rendered="{!AND((Call_Plan_Line__c.Result_type__c=='FRLR_RC'),resultListSize>0)}">
                <apex:column headervalue="{!$Label.CORE_ActionDate}" width="20px">
                    <apex:inputfield value="{!res.Action_Date__c}"/>
                </apex:column>
             </apex:pageblocktable>

Thanks for any help

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

You can hide it by adding the following styling to the top of your page:

 

 

<style>
.dateFormat
{
  display: none;
}

</style>

 This will hide it for all date input fields on the page though.

 

All Answers

bob_buzzardbob_buzzard

You can hide it by adding the following styling to the top of your page:

 

 

<style>
.dateFormat
{
  display: none;
}

</style>

 This will hide it for all date input fields on the page though.

 

This was selected as the best answer
MariPMariP

thanks a lot bob_buzzard !

it's great

RohitGabaRohitGaba
Use "showDatePicker" attribute on apex:inputField with value false : showDatePicker="false"